<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Playwright on That&#39;s it ! Code Snippets</title>
    <link>https://thats-it-code.com/categories/playwright/</link>
    <description>Recent content in Playwright on That&#39;s it ! Code Snippets</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 21 May 2022 15:05:08 +0900</lastBuildDate><atom:link href="https://thats-it-code.com/categories/playwright/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Playwright &gt;&gt; Tips and Tricks (1)</title>
      <link>https://thats-it-code.com/playwright/playwright__tips-and-tricks-1/</link>
      <pubDate>Sat, 21 May 2022 15:05:08 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright__tips-and-tricks-1/</guid>
      <description>&lt;p&gt;This tutorial will explain how to use &lt;strong&gt;Playwright&lt;/strong&gt; to &lt;strong&gt;get all cookies, get all links in the page, get all links containing specific string/text, click buttons,  click links, click all links in new tabs (click multiple elements), get all pages/tabs, get all attributes of element, customize click timeout, click element if it exists, click specific position, click and drag (drag and drop)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright_tips-tricks-1.png&#34; alt=&#34;Playwright&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright &gt;&gt; Getting and setting (text, html, input value, attribute, href, localstorage, cookie, user agent, viewport/resolution/window size, and headers)</title>
      <link>https://thats-it-code.com/playwright/playwright__get-and-set/</link>
      <pubDate>Tue, 17 May 2022 21:36:16 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright__get-and-set/</guid>
      <description>&lt;p&gt;This tutorial will explain how to get &lt;strong&gt;text, html, input value, attribute, href of element, and how to get the localstorage, cookie&lt;/strong&gt;.&lt;br&gt;
And explain how to &lt;strong&gt;set localstorage, cookie, input value of textbox, user agent, viewport/resolution/window size, and custom headers&lt;/strong&gt; of the browser.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright_getting-and-setting.png&#34; alt=&#34;Playwright&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright &gt;&gt; Find, Locate, Select Elements/Tags using Playwright</title>
      <link>https://thats-it-code.com/playwright/playwright__find-locate-search-elements-tags/</link>
      <pubDate>Sun, 15 May 2022 11:44:56 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright__find-locate-search-elements-tags/</guid>
      <description>&lt;p&gt;This tutorial will explain some code examples about how to &lt;strong&gt;find/locate/select elements&lt;/strong&gt; &lt;strong&gt;containing&lt;/strong&gt; specified text or &lt;strong&gt;child&lt;/strong&gt; element, &lt;strong&gt;loop&lt;/strong&gt; the locator results, find &lt;strong&gt;first&lt;/strong&gt; or &lt;strong&gt;last&lt;/strong&gt; element, get &lt;strong&gt;parent&lt;/strong&gt; or &lt;strong&gt;child&lt;/strong&gt; element, get elements by &lt;strong&gt;class&lt;/strong&gt;, &lt;strong&gt;attribute&lt;/strong&gt; or &lt;strong&gt;id&lt;/strong&gt; using &lt;strong&gt;Playwright (Python library)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Playwright python version&lt;/em&gt;: &lt;strong&gt;1.22&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright_find-elements.png&#34; alt=&#34;Playwright&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright Example &gt;&gt; AutoComplete</title>
      <link>https://thats-it-code.com/playwright/playwright-example__autocomplete/</link>
      <pubDate>Tue, 12 Apr 2022 17:34:36 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright-example__autocomplete/</guid>
      <description>&lt;p&gt;In this article, we will use Playwright (Python version) to fill the Textbox by using Autocomplete feature.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright-example_autocomplete.png&#34; alt=&#34;Playwright AutoComplete&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright Example &gt;&gt; RadioButton</title>
      <link>https://thats-it-code.com/playwright/playwright-example__radiobutton/</link>
      <pubDate>Sat, 26 Mar 2022 12:19:37 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright-example__radiobutton/</guid>
      <description>&lt;p&gt;In this article, we will use Playwright (Python version) to check and toggle Radio buttons on the web page.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright-example_radiobutton.png&#34; alt=&#34;Playwright Radio button&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright Example &gt;&gt; Download File</title>
      <link>https://thats-it-code.com/playwright/playwright-example__download-file/</link>
      <pubDate>Fri, 25 Mar 2022 14:34:17 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright-example__download-file/</guid>
      <description>&lt;p&gt;In this article, we will use Playwright (Python version) to download a file automatically and save it to specified path.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright-example_downloadfile.png&#34; alt=&#34;Playwright Download file&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright Example &gt;&gt; Upload Files</title>
      <link>https://thats-it-code.com/playwright/playwright-example__upload-files/</link>
      <pubDate>Thu, 24 Mar 2022 20:28:26 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright-example__upload-files/</guid>
      <description>&lt;p&gt;In this article, we will use Playwright (Python version) to upload file automatically.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright-example_uploadfile.png&#34; alt=&#34;Playwright Upload file&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright Example &gt;&gt; Checkbox</title>
      <link>https://thats-it-code.com/playwright/playwright-example__checkbox/</link>
      <pubDate>Wed, 23 Mar 2022 21:36:50 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright-example__checkbox/</guid>
      <description>&lt;p&gt;In this article, we will use Playwright (Python version) to check checkbox in the web form. And uncheck it.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright-example_checkbox.png&#34; alt=&#34;Playwright Checkbox&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright Example &gt;&gt; TextBox</title>
      <link>https://thats-it-code.com/playwright/playwright-example__textbox/</link>
      <pubDate>Wed, 23 Mar 2022 16:50:16 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright-example__textbox/</guid>
      <description>&lt;p&gt;In this article, we will use Playwright (Python version) to fill textbox in the web form. And get the text value of text box.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright-example_textbox.png&#34; alt=&#34;Playwright Textbox&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright &gt;&gt; Save authentication state and Login atuomatically</title>
      <link>https://thats-it-code.com/playwright/playwright__save-authentication-state-and-login-atuomatically/</link>
      <pubDate>Sat, 05 Feb 2022 13:45:30 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright__save-authentication-state-and-login-atuomatically/</guid>
      <description>&lt;p&gt;In the previous article, we introduced the basic usage of &lt;strong&gt;Playwright&lt;/strong&gt;. In this article, we will talk about some advanced usage like &lt;strong&gt;auto-login&lt;/strong&gt; and &lt;strong&gt;save authentication states&lt;/strong&gt; like &lt;strong&gt;cookies&lt;/strong&gt; or &lt;strong&gt;tokens&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright_advanced001.png&#34; alt=&#34;[Playwright] Advanced&#34;&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Playwright &gt;&gt; Basic Usage</title>
      <link>https://thats-it-code.com/playwright/playwright__basic-usage/</link>
      <pubDate>Thu, 14 Oct 2021 21:04:56 +0900</pubDate>
      
      <guid>https://thats-it-code.com/playwright/playwright__basic-usage/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Playwright&lt;/strong&gt; is a &lt;code&gt;Node.js&lt;/code&gt; library to automate &lt;em&gt;Chromium&lt;/em&gt;, &lt;em&gt;Firefox&lt;/em&gt; and &lt;em&gt;WebKit&lt;/em&gt; with a single API. &lt;strong&gt;Playwright&lt;/strong&gt; is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.&lt;/p&gt;
&lt;p&gt;In this article, we will go through &lt;strong&gt;basic usage&lt;/strong&gt; of &lt;strong&gt;Playwright&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://thats-it-code.com/img/playwright_00001.png&#34; alt=&#34;[Playwright] Basic usage&#34;&gt;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
