<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Python Archives - Vu Thanh Tung</title>
	<atom:link href="https://vutung.com/category/python/feed/" rel="self" type="application/rss+xml" />
	<link>https://vutung.com/category/python/</link>
	<description></description>
	<lastBuildDate>Fri, 24 Sep 2021 10:43:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.10</generator>

<image>
	<url>https://vutung.com/wp-content/uploads/2020/10/cropped-Untitled-e1602229264330-32x32.png</url>
	<title>Python Archives - Vu Thanh Tung</title>
	<link>https://vutung.com/category/python/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to perform triple click on Selenium with Python</title>
		<link>https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/</link>
					<comments>https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 23 Sep 2021 03:02:40 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">https://vutung.com/?p=4475</guid>

					<description><![CDATA[<p>I will go straight to the point. This is the piece of code that help you to perform triple click into any element by using Selenium on Python. In the...</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/">How to perform triple click on Selenium with Python</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I will go straight to the point. This is the piece of code that help you to perform triple click into any element by using Selenium on Python.</p>



<p>In the code below, I find the H1 element on my page, and then perform triple click on it</p>



<blockquote class="wp-block-quote"><p>from selenium import webdriver<br>from selenium.webdriver.common.keys import Keys<br>from selenium.webdriver.common.action_chains import ActionChains</p><p>driver = webdriver.Chrome()<br>driver.get(&#8220;https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/&#8221;)</p><p>triple_click_element = driver.find_elements_by_tag_name(&#8216;h1&#8217;)[1]<br>actions = ActionChains(driver)<br>for i in range(3):<br>actions.move_to_element(triple_click_element).click()<br>actions.perform()</p></blockquote>



<p>You can try to change the find_element_by&#8230; function with any other function that suit your needs</p>



<h2>How to triple click on Selenium with Python</h2>
<p>The post <a rel="nofollow" href="https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/">How to perform triple click on Selenium with Python</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
