<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shivangi Singh on Medium]]></title>
        <description><![CDATA[Stories by Shivangi Singh on Medium]]></description>
        <link>https://medium.com/@shiviiisingh1406?source=rss-342d705025d6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*EHiffKozft9l3af0_fS47Q.jpeg</url>
            <title>Stories by Shivangi Singh on Medium</title>
            <link>https://medium.com/@shiviiisingh1406?source=rss-342d705025d6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 18:02:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shiviiisingh1406/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Mastering XPath in Selenium Python — Advanced XPath Strategies]]></title>
            <link>https://medium.com/@shiviiisingh1406/mastering-xpath-in-selenium-python-advanced-xpath-strategies-4e9df9a36477?source=rss-342d705025d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e9df9a36477</guid>
            <category><![CDATA[xpath]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[selenium-webdriver]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[test-automation]]></category>
            <dc:creator><![CDATA[Shivangi Singh]]></dc:creator>
            <pubDate>Sat, 18 Jul 2026 18:03:04 GMT</pubDate>
            <atom:updated>2026-07-18T18:03:04.190Z</atom:updated>
            <content:encoded><![CDATA[<p>A beginner-friendly and practical guide to understand how XPath needs to be written in real automation.</p><p>In the previous article I explored CSS Selectors and XPath, how these differ from each other and I realized although I get an understanding that XPath can locate web elements but when it comes to writng a good XPath I am still not very comfortable.</p><p>Whenever I inspected an element in the browser, the XPath generated by DevTools is actually very long, difficult to understand and not always reliable.</p><p>This behavior made me curious about several things:</p><ul><li>How do I locate an element if it doesn’t have an ID?</li><li>What if the ID changes every time the page loadss?</li><li>How can I locate a button using its visible text?</li><li>How do automation engineers locate elements in complex applications?</li></ul><p>In this article, we’ll explore the techniques automation engineers commonly use to create stable and maintainable XPath locators.</p><h4>Why do we need to learn XPath?</h4><p>While using Selenium to interact with a webpage, it first needs to locate the required element. If the element has stable attribute like ID, name, class etc. locating them is still straightforward.</p><p>However, many real-world applications don’t provide unique IDs for every element.</p><p>Sometimes elements have only <strong>classes </strong>or have <strong>dynamic attributes</strong> attributes only or don’t even have useful attributes at all.</p><p>In these situations, XPath becomes one of the most powerful locator strategies because it allows us to locate elements using:</p><ul><li>attributes</li><li>visible text</li><li>multiple conditions</li><li>partial attribute values</li><li>combinations of different conditions</li></ul><p>For this learning let’s use these websites and do some hands-on practice</p><ul><li><a href="https://demoqa.com/">https://demoqa.com/</a></li><li><a href="https://the-internet.herokuapp.com/">https://the-internet.herokuapp.com</a>/</li><li><a href="https://selectorshub.com/xpath-practice-page/">https://selectorshub.com/xpath-practice-page/</a></li></ul><p>These are some widely used website by learners for Selenium automation practice.</p><h4>1. XPath by Attribute</h4><ul><li>The most common way to write XPath is by matching an attribute.</li></ul><pre>#Syntax<br><br>//tagname[@attribute=&#39;value&#39;]<br><br>example,<br>use https://demoqa.com/elements and try to target Full name field in Text box section.<br><br><strong>XPath</strong>: //input[@id=&#39;userName&#39;]</pre><p>This XPath says:</p><blockquote><em>Find an </em><strong><em>&lt;input&gt;</em></strong><em> element whose </em><strong><em>id </em></strong><em>attribute is </em><strong><em>userName</em></strong><em>.</em></blockquote><p>Whenever a stable attribute is available, this should usually be your first choice.</p><ul><li>using ‘and’ operator</li></ul><h4>2. XPath using Multiple Attribute</h4><p>Sometimes a single attribute is not enough.</p><p>You can combine multiple conditions to create a more reliable XPath.</p><ul><li>using ‘and’ operator — both the condition must be true.</li></ul><pre>#Syntax<br><br>//tagname[@attribute1 = &#39;value1&#39; and @attribute2 = &#39;value2&#39;]<br><br>#in case of <strong>and </strong>operator value for attribute1 and attribute2 must be true then only the element can be located.<br>#we can combine attribute and text() to find an element<br><br>example,<br>use https://demoqa.com/elements and try to target Full name field in Text box section.<br><br><strong>XPath</strong>: //input[@placeholder=&#39;Full Name&#39; and @id=&#39;userName&#39;]</pre><ul><li>using ‘or’ operator — atleast one condition must be true</li></ul><pre>#Syntax<br><br>//tagname[@attribute1 = &#39;value1&#39; or @attribute2 = &#39;value2&#39;]<br><br>#in case of or operator if value of attribute1 or attribute2 is true then the element will be targeted.<br>#we can combine attribute and text() to find an element<br><br>example,<br>use https://demoqa.com/elements and try to target Full name field in Text box section.<br><br><strong>XPath</strong>: //input[@placeholder=&#39;Full Name&#39; or @id=&#39;userName&#39;]</pre><h4>3. XPath by Visible Text</h4><p>Sometimes an element has no useful attributes, but its displayed text remains constant.</p><p>XPath allows us to locate elements directly using their visible text.</p><p>This approach is useful for button, links, and headings.</p><pre>#Syntax<br><br>//tagname[text()=&#39;visible text&#39;]<br><br><br>example,<br>use https://demoqa.com/elements and try to target submit button using text Submit.<br><br><strong>XPath</strong>: //button[text()=&#39;Submit&#39;]</pre><h4>3. Xpath using contains()</h4><p>It is one of the most commonly used XPath functions in automation.</p><pre>contains() is especially useful when an attribute changes partially. <br>Instead of matching the complete value, we can match only the stable portion of the attribute.<br>It takes two arguments, the first is attribute or text() and second is the partial value you want to match.<br><br>#Syntax<br><br>//tagname[contains(@attribute,&#39;partial value&#39;)]<br>//tagname[contains(text(),&#39;partial value&#39;)]<br><br>example,<br>use https://selectorshub.com/xpath-practice-page/ and try to target text &quot;Dummy Form&quot; using contains() method.<br><br>XPath: //h6[contains(text(),&#39;Dummy&#39;)]</pre><h4>4. XPath using starts-with()</h4><p>Sometimes the beginning of an attribute remains the same while the rest changes dynamically.</p><p>In such situations, starts-with() is a better choice.</p><pre>#Syntax<br><br>//tagname[starts-with(@attribute,&#39;starting value&#39;)]<br>//tagname[starts-with(text(),&#39;starting value&#39;)]<br><br>example,<br>use https://selectorshub.com/xpath-practice-page/ and try to target element fromUser table using starts-with() method.<br><br>XPath: <br>//tr[starts-with(@class,&#39;plan&#39;)]</pre><h4>5. using normalize-space()</h4><p>Sometimes text contains extra spaces, tabs, or line breaks.</p><p>Although the text looks correct in the browser, a normal text-based XPath may fail.</p><p><strong>normalize-space()</strong> removes unnecessary whitespace before comparison.</p><pre># useful when visible text contains extra spaces, tabs, or line breaks.<br><br>#syntax<br>//tagname[normalize-space()=&#39;visible text&#39;]<br><br>example,<br>use https://selectorshub.com/xpath-practice-page/ to target the text SelectorsHub Youtube Channel<br><br>XPath:<br>//a[normalize-space()=&#39;SelectorsHub Youtube Channel&#39;]</pre><h4>6. Hybrid XPath</h4><p>Real-world automation often requires combining multiple XPath techniques.</p><p>Instead of depending on a single attribute, we can combine different conditions to create a more reliable locator.</p><p>Hybrid XPath usually produces more stable locators than relying on just one condition.</p><pre>#syntax<br>//tagname[contains(@att1,&#39;value&#39;) and starts-with(text(),&#39;starting value&#39;)]</pre><h4>Best Practices for writing XPath</h4><ul><li>Prefer stable attributes like id or name whenever available’</li><li>Keep XPath expressions simple and readable.</li><li>Avoid copying the full XPath generated by browser DevTools [absolute Xpath and can fail terribly].</li><li>Use contains() for dynamic attributes.</li><li>Use multiple conditions only when necessary.</li><li>Verify that your XPath uniquely identifies a single element.</li><li>Avoid overly long XPath expressions whenever a shorter one works.</li></ul><p>Goal should be to write the most reliable than the long XPath.</p><p>Writing efficient XPath expressions requires knowing which approach is best for the given circumstance rather than learning every XPath function by heart.</p><p>In this post, we looked at how to find items using visible text, attributes, contains() partial matches, starts-with() prefixes, normalize-space() whitespace handling, and hybrid XPath combinations of several conditions.</p><p>As I continue to practice, push myself to examine many websites and create my own XPath expressions rather than depending on ones that are generated by the browser. Selecting the appropriate XPath technique will become second nature with consistent practice.</p><p>We’ll examine XPath Axes in the upcoming post, where we’ll discover how to find even the most difficult web elements by navigating across parent, child, sibling, and ancestor items.</p><p>Happy Learning!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e9df9a36477" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSS Selectors vs XPath in Selenium Python — Choosing the Right Selenium Locator]]></title>
            <link>https://medium.com/@shiviiisingh1406/css-selectors-vs-xpath-in-selenium-python-choosing-the-right-selenium-locator-b5af25caccb9?source=rss-342d705025d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5af25caccb9</guid>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[selenium-locators]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pytest]]></category>
            <category><![CDATA[selenium]]></category>
            <dc:creator><![CDATA[Shivangi Singh]]></dc:creator>
            <pubDate>Thu, 18 Jun 2026 17:11:01 GMT</pubDate>
            <atom:updated>2026-06-18T17:11:01.650Z</atom:updated>
            <content:encoded><![CDATA[<p>In previous article, I explored various Selenium locators, while practicing on real websites I noticed one interesting thing that most automation scripts eventually heavily rely on two locator strategies:</p><ul><li>CSS Selectors</li><li>XPath</li></ul><p>While Selenium provides several locator options such as ID, Name, Class Name, Link Text, and Partial Link Text, real world web applications often require more flexible ways of finding elements.</p><p>As I started learning, I found myself wondering:</p><p><em>If both CSS Selectors and XPath can locate the same element, which one should I use?</em></p><p>When I started learning, they looked very similar to me because both could locate input fields, buttons, links and other web elements. However, while learning Selenium more deeply, I realized they approach element identification in very different ways.</p><p>In this article, let’s explore how CSS Selectors and Xpath work, where they differ, and when each one becomes useful in automation testing.</p><h3>Why CSS Selectors and XPath Matter</h3><p>It is not necessary that in every scenario we would have a unique ID as real-world applications are rarely simple. Sometimes elements have no ID they only contain text.</p><p>For example: &lt;button&gt;Login&lt;/button&gt;</p><p>Sometime attributes change dynamically. In such situations , CSS Selectors and XPath become powerful alternatives for locating web elements.</p><h3>What is a CSS Selector?</h3><p>CSS Selectors originate from CSS ( Cascading Style Sheets ), where they are primarily used for styling web pages.</p><p>Since browsers already understand CSS rules, Selenium can use those same rules to locate elements.</p><p>Consider the following HTML:</p><pre>&lt;input id=&#39;username&#39; class=&#39;input-field&#39;&gt;</pre><p>Using a CSS Selector:</p><pre>driver.find_element(By.CSS_SELECTOR, &quot;#username&quot;)</pre><p>The <strong>#</strong> symbol represents an element’s ID.</p><p>Similarly:</p><p>The . (dot) symbol represents a class name.</p><p>CSS Selectors are often appreciated because they are concise, readable, and easy to maintain.</p><h3>Common CSS Selector Examples</h3><h4>By ID</h4><p><em>HTML :</em></p><pre>&lt;input id=&quot;username&quot;&gt;</pre><p><strong><em>CSS Selector:</em></strong> #username</p><h4>By Class</h4><p><em>HTML :</em></p><pre>&lt;input class=&quot;form-control&quot;&gt;</pre><p><strong><em>CSS Selector:</em></strong> .form-control</p><h4>By Tag</h4><p><em>HTML :</em></p><pre>&lt;button&gt;Login&lt;/button&gt;</pre><p><strong><em>CSS Selector:</em></strong> button</p><h4><strong>By Attribute</strong></h4><p><strong><em>HTML :</em></strong></p><pre>&lt;input type=&quot;text&quot;&gt;</pre><p><strong><em>CSS Selector :</em></strong></p><p>input[type=’text’]</p><p><strong>Combining Multiple Conditions</strong></p><p><em>HTML:</em></p><pre>&lt;input class=&quot;form-control&quot; type=&quot;text&quot;&gt;</pre><p><strong><em>CSS Selector:</em></strong></p><p>input.form-control[type=’text’]</p><p>The ability to combine multiple conditions makes CSS Selectors very powerful for day-to-day automation work.</p><h3>What is XPath?</h3><p>XPath stands for XML Path Language, it is a query language used to locate element within the XML and HTML documents.</p><p>Although modern web pages are created using HTML, XPath treats the page as a hierarchical tree structure and allows navigation through that structure.</p><p>For example, let’s take this Swag Labs website we’ll try to target username.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*VjbZEDOavZgXqNaw4PS0Mw.png" /><figcaption>saucedemo.com</figcaption></figure><p><strong>CSS Selector:</strong></p><p>input#user-name[type=’text’]</p><p><strong>XPath Selector:</strong></p><p>//input[contains(<a href="http://twitter.com/id">@id</a>,”user-name”)]</p><pre>#how we use Xpath in automation script<br>driver.find_element(By.XPATH,&#39;//input[contains(@id,&quot;user-name&quot;)]&#39;)</pre><p>Xpath are basically of two types absolute XPath and Relative XPath</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OViTVBAIKge0iAWn0lbOJA.png" /><figcaption>Absolute XPath vs Relative XPath</figcaption></figure><h4>Core syntax of Relative XPath</h4><p>//tag_name[@attribute_name=’attribute_value’]</p><p>Where</p><ul><li>// : Looks anywhere in the DOM</li><li>tag_name: The HTML tags e.g., input, button, div etc.</li><li>@: Selects the attribute node</li><li>attribute_name: The HTML attribute being targeted e.g., id, name, class etc.</li><li>attribute_value: The specific string value of that attribute.</li></ul><p><strong>Text-based search</strong></p><p>One of XPath’s most useful capabilities is locating elements by visible text.</p><p>HTML:</p><pre>&lt;button&gt;Login&lt;/button&gt;</pre><p>XPath:</p><pre>//button[text()=&#39;Login&#39;]</pre><p>This is extremely useful when elements lack stable attributes.</p><p>Both CSS Selector and XPath achieve the same result. However, CSS is noticeably shorter and easier to read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oIJflFSVFz1mh3eT1bIPHg.png" /><figcaption>CSS Selector vs XPath</figcaption></figure><p>While learning Selenium I am continuously trying to master XPath, I also realized that many elements could be located more cleanly using CSS Selectors. So rather than focusing on which locator is best, more practical approach would be which locator is simpler, more stable, and easier to maintain for a given situation. There is still more to learn properly about XPath.</p><p>In the next article, I’ll dive deeper into XPath and explore commonly used XPath expressions that appear frequently in real world automation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5af25caccb9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Finding Web Elements in Selenium Python — Understanding Locators as a Beginner]]></title>
            <link>https://medium.com/@shiviiisingh1406/finding-web-elements-in-selenium-python-understanding-locators-as-a-beginner-09e8ecbb0471?source=rss-342d705025d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/09e8ecbb0471</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pytest]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[selenium-webdriver]]></category>
            <dc:creator><![CDATA[Shivangi Singh]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 17:11:57 GMT</pubDate>
            <atom:updated>2026-06-18T17:12:48.663Z</atom:updated>
            <content:encoded><![CDATA[<p>A practical guide to how Selenium identifies buttons, input fields, links and other web elements.</p><p>After learning how Selenium launches browser and navigates pages, I found myself wondering: How does Selenium know element I want to interact with?</p><p>Opening a browser was relatively strightforward. But next is real automation which starts when we need to:</p><ul><li>enter text into an input field</li><li>click on button as like as a user would do</li><li>validating messages</li><li>interacting with various links</li><li>submit forms etc.</li></ul><p>To do so, Selenium first needs to find and identify tha specific element on the page and that is where locators come in.</p><p>This article is also going to be a part of my learning journey of Selenium with Python.</p><p>So before moving ahead a basic knowledge of HTML, CSS and Browser DevTools will help.</p><h3>What is a Locator?</h3><p>A <strong>locator</strong> is essentially a query or rule that tells Selenium <em>which element</em> in the DOM (Document Object Model) to interact with.</p><p>Think of it like an address.</p><p>If someone asks you to deliver a package, you need a specific address.</p><p>Similarly, Selenium needs a specific way to identify a web element among hundreds or even thousands of elements on a page.</p><p>Without a locator, Selenium can see the page but cannot determine which element should be clicked, typed into, or validated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HEcHpjbVKiAeus2ip3L3Kg.png" /></figure><h3>Before Locators: Understanding the DOM</h3><p>While learning locators, I often struggled to locate correct element especially when working with XPATH and that made me realised that first I need to understand DOM (Document Object Model) before understanding locators.</p><p>When a browser loads a webpage, it converts the HTML into a structured tree-like representation.</p><pre>&lt;html&gt;<br>    &lt;head&gt;<br>    &lt;title&gt; Title &lt;/title&gt;<br>    &lt;/head&gt;<br>    &lt;body&gt;<br>        &lt;p&gt; This a basic example of HTMl.&lt;/p&gt;<br>        &lt;input id = &quot;username&quot;&gt;<br>        &lt;input id = &quot;password&quot;&gt;<br>        &lt;button&gt; Login &lt;/button&gt;<br>    &lt;/body&gt;<br>&lt;/html&gt;</pre><p>The browser converts this into an internal structure that Selenium can search through.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y3TN9E_hPkhdTvDb5dxt8w.png" /><figcaption>DOM Tree Structure</figcaption></figure><p>Whenever Selenium tries to find an element, it searches the DOM. This understanding will also come handy when we will learn XPATh and CSS as locators.</p><h3>What is a Web Element?</h3><p>Every interactive object on a webpage is represented as an HTML element.</p><p>examples include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g8opwCvmhON0DtPWlqyKHw.png" /><figcaption>Web Element Examples</figcaption></figure><p>When Selenium successfully finds an elemnt, it returns a WebElemnent object.</p><p>Let’s take an example:</p><pre>login_button = driver.find_element(By.ID,&quot;login-btn&quot;)</pre><p>Here, login_button becomes a WebElement that Selenium can interact with.</p><h3>Modern Selenium Locators Syntax</h3><p>Earlier Selenium syntax were like:</p><p>driver.find_element_by_id(“username”)</p><p>However, modern Selenium uses the <strong>By </strong>class:</p><pre>from selenium.webdriver.common.by import By<br>driver.find_element(By.ID,&quot;username&quot;)</pre><p>This is the approach that I am using as it aligns with the current Selenium versions and framework practices.</p><h3>Locator Strategy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kKm6gGAzI6Izn9BndG32iQ.png" /></figure><p>In Selenium we have different types of locators available to target WebElements on the page.</p><h4>1. ID locator</h4><p>The ID locator is usually the first choice whenever a stable ID exists.</p><p>It targets elements using their unique HTML <strong>id </strong>attribute. It is the fastest, safest, and most preferred locating strategy because IDs are unique in properly designed DOM (Document Object Model).</p><pre>driver.find_element(By.ID,&quot;password&quot;)</pre><h4>2. Name locator</h4><p>Some elements do not have IDs.</p><p>It targets elements using the <strong>name </strong>attribute. Best for form controls like input, radio buttons where name attributes are natively used.</p><p><strong><em>Note</em></strong>: multiple elements can share the same name, and in this case Selenium will select the first matching element of DOM hierarchy. Thus they are less reliable than ID.</p><pre>driver.find_element(By.NAME,&quot;password&quot;)</pre><h4>3. Class locator</h4><p>Targets elements using the <strong>class </strong>attribute. Useful when we want to select element with shared styling. It is similar to name locator, if multiple elements are sharing the same class then only first one is targeted unless we are using multi-element methods.</p><pre>driver.find_element(By.CLASS_NAME,&quot;submit-button&quot;)  # find_elements() if we want to store list of elements.</pre><h4>4. Tag Name locator</h4><p>It is used to target elemnt directly using their tagname. Useful in case we want sets of similar elements, such as counting all rows of a table (&lt;tr&gt;) or all hyperlinks(&lt;a&gt;).</p><pre>driver.find_element(By.TAG_NAME,&quot;input&quot;)</pre><h4>5. Link Text locator</h4><p>Targets anchor (&lt;a&gt;) tags based on their exact visible text.. It is beest for simple hyperlinks with fixed, exact string matches.</p><p>example: we have html like &lt;a href=”/about”&gt;About Us&lt;/a&gt;.</p><pre>driver.find_element(By.LINK_TEXT,&quot;About Us&quot;)</pre><p>It is readable beacause it uses the text visible to users.</p><h4>6. Partial Link Text locator</h4><p>It is similar to Link Text except it allows partial matching.</p><pre>driver.find_element(By.PARTIAL_LINK_TEXT,&quot;About&quot;)</pre><h4>7. CSS Selector locator</h4><p>It uses CSS rules to map out and locate targeted elements.</p><p>It is advanced, high-speed targeting, highly customizable, reads cleanly, and are generally considered faster and more readable than XPath for many common locating scenarios in most modern web browsers.</p><pre>driver.find_element(By.CSS_SELECTOR,&quot;input.form-control[type=&#39;text&#39;]&quot;)</pre><h4>8. Xpath locator</h4><p>Xpath uses XML expressions to navigate through the HTML structural tree.</p><p>It is used in case of complex or dynamic structures where other basic attributes are missing. XPath is exceptionally flexible because it allows you to travel bidirectional (upwards to parent elements or downwards to children) and search for specific text patterns.</p><pre>driver.find_element(By.XPATH,&quot;//div[@class=&#39;main&#39;]/button[text()=&#39;Login&#39;]&quot;)</pre><p>Additionaly, modern versions (Selenium 4 and newer) introduce <strong><em>Relative locators</em></strong> to find elements based on their visual position relative to other elements.</p><ul><li>above() : element located immediately above the specified reference element.</li><li>below() : element located immediately below the reference point.</li><li>toLeftof() : element sitting directly to the left side of the reference.</li><li>toRightof() : element sitting directly to the right side of the reference,</li><li>near() : element situated close to (typically within 50 pixels of) a designated reference item.</li></ul><h3>find_element() vs find_elements()</h3><p>Understanding this difference becomes important when working with lists, tables, menus, and repeated UI components.</p><h4>find_element()</h4><ul><li>It returns a single WebElement</li><li>If Selenium cannot find the element then NoSuchElementException is raised.</li></ul><h4>find_elements()</h4><ul><li>It returns a list of WebElements.</li><li>If Selenium cannot find elements then an empty [] list is returned instead of raising an exception.</li></ul><p>Now that after understanding the basic locator strategies, the next topic I’ll explore will be <a href="https://medium.com/@shiviiisingh1406/css-selectors-vs-xpath-in-selenium-python-choosing-the-right-selenium-locator-b5af25caccb9">CSS Selectors vs XPath</a> and more abbout relative locators. Thanks for reading, and I’ll see you in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=09e8ecbb0471" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Selenium WebDriver Properly — Browser Sessions, Navigation, and close() vs quit()]]></title>
            <link>https://medium.com/@shiviiisingh1406/understanding-selenium-webdriver-properly-browser-sessions-navigation-and-close-vs-quit-988578d15858?source=rss-342d705025d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/988578d15858</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[pytest]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[selenium-webdriver]]></category>
            <dc:creator><![CDATA[Shivangi Singh]]></dc:creator>
            <pubDate>Sun, 31 May 2026 17:07:43 GMT</pubDate>
            <atom:updated>2026-06-18T16:00:23.724Z</atom:updated>
            <content:encoded><![CDATA[<p>A comprehensive introduction to Selenium WebDriver internals and browser control commands using Python that is suitable for beginners</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pwyZGH53ZbLHmHbI" /><figcaption>Photo by <a href="https://unsplash.com/@kmuza?utm_source=medium&amp;utm_medium=referral">Carlos Muza</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>After learning basic Selenium setup, I realized I was using browser commands without truly understanding what WebDriver actually represents internally and what these commands actually do.</p><p>Commands like:</p><ul><li>driver.get()</li><li>driver.refresh()</li><li>driver.back()</li><li>driver.close()</li><li>driver.quit()</li></ul><p>seemed simple initially, but they actually control an active browser session behind the scenes.</p><p>So in this article, let’s explore why understanding browser sessions is important for writing stable automation scripts, without this understanding, scripts may behave inconsistently, leave browser processes running, or fail when scaled to larger test suites. Let’s deep dive in.</p><h3><strong>What is WebDriver?</strong></h3><blockquote>WebDriver is an interface used to communicate with browsers and automate actions.</blockquote><p>At first, I was under the impression that Selenium had direct control over the browser. That’s not entirely true.</p><p>When we write:</p><pre>driver = webdriver.Chrome()</pre><p>several things happen behind the scenes:</p><ol><li>Selenium starts ChromeDriver (any Browser driver).</li><li>ChromeDriver launches Chrome.</li><li>A browser session is created.</li><li>Selenium receives a WebDriver object.</li><li>That object is assigned to the variable driver.</li></ol><p>Selenium dosen’t become the browser instead it creates a communication channel between Python code and the browser.</p><blockquote>Python Script → Webdriver → Browser Driver (specific for each browser) → Browser(Chrome, firefox, edge, safari etc.)</blockquote><pre>driver</pre><p>isn’t just a variabale it is storing an active session of the browser.</p><p>Selenium WebDriver can be considered as the heart of it, it is the core interface that allows us to automate and communicate with browser using browser’s driver.</p><h3>Understanding Browser Sessions</h3><p>Every time Selenium launches a browser, a new session is created which contains information such as:</p><ul><li>open tabs</li><li>cookies</li><li>browser history</li><li>authentication state</li><li>local storage</li><li>current page information</li></ul><blockquote>A session is a live connection between your script and the browser.</blockquote><blockquote>OR</blockquote><blockquote>A browser session represents active browser state managed by WebDriver.</blockquote><ul><li>Each browser session is assigned a unique Session ID that Selenium uses internally to identify and communicate with that specific browser instance.</li><li>Command like</li></ul><pre>driver.get(&quot;https://google.com&quot;)</pre><p>are sent to this session.</p><ul><li>Selenium can keep communicating with the browser as long as the session is active.</li><li>All of that data vanishes after the end of the session.</li></ul><p><strong><em>Note</em></strong>: If the session ends (using quit() ), the browser can no longer be controlled.</p><p>When developing larger automation frameworks, this becomes even more crucial.</p><h3>Exploring Basic Browser Commands</h3><p>Once the browser session is active, WebDriver provides us various methods to control it.</p><p>Let’s start diving deep into some most commonly used commands.</p><h4>Opening a website</h4><pre>driver.get(&quot;https://facebook.com&quot;)</pre><p>The get() method instructs the browser to navigate to the specified URL.</p><h4>Refreshing the page</h4><pre>driver.refresh()</pre><p>.refresh() is used to refresh the current page. It is useful while validating updated content, testing refresh behavior, checking dynamic page updates.</p><h4>Navigating Back</h4><pre>driver.back()</pre><p>It works similarly to clicking the browser’s back button. This takes us exactly one step back at a time.</p><h4>Navigating Forward</h4><pre>driver.forward()</pre><p>Moves forward in browser history.</p><p>A simple navigation example you can check: <a href="https://github.com/Shiviiisingh/selenium-python-zero-to-advanced/blob/main/beginner/navigation_commands.py">navigation command example</a></p><p><strong><em>Note</em></strong>: In the example, I used time.sleep() so we can visually observe what Selenium was doing. Later, we’ll replace these with proper waits.</p><h4>Maximizing the Browser Window</h4><pre>driver.maximize_window()</pre><p>Many websites behave differently on different screen sizes.</p><p>Maximizing the browser helps ensure consistent automation execution.</p><h4>Minimize the Window</h4><pre>driver.minimize_window()</pre><p>Similar to maximize_window(), Selenium also provides minimize_window() to minimize the browser window.</p><h3>close() vs quit()</h3><p>One of the most common mistake as a beginner we do, that we confuse close() and quit().</p><pre>driver.close()</pre><p>It only closes the currently active tab or window. The browser session may still remain alive.</p><p>Means imagine we have three tabs (for eg. websites) opened in three new tabs and we are on the third tab right now so it will only close the 3rd tab on which we are currently.</p><pre>driver.quit()</pre><p>On the other hand quit() ends the complete WebDriver session.</p><p>It closes</p><ul><li>all browser windows</li><li>all tabs</li><li>the browser process</li><li>the driver process</li></ul><p>In most automation frameworks, quit() is used during cleanup.</p><p><strong><em>Why the difference matters?</em></strong></p><p>If close() is used incorrectly, the browser session may continue running even after the active tab is closed.</p><p>This can create:</p><ul><li>orphaned browser processes</li><li>memory leaks</li><li>unstable test execution</li><li>CI/CD failures</li></ul><p>On the other hand using <strong>.quit()</strong> ensure everything is cleaned up properly.</p><h3>Key <strong>Takeaways</strong></h3><p>Upon exploring WebDriver, the following ideas emerged as the most prominent:</p><ul><li>WebDriver acts as a communication layer between Python code and the browser.</li><li>The driver variable represents an active browser session.</li><li>Browser sessions store cookies, tabs, browsing history, and authentication state.</li><li>Navigation commands operate within an active browser session.</li><li>close() and quit() serve different purposes and should not be used interchangeably.</li><li>Proper session management is essential for stable automation.</li></ul><p>Now that after understanding how Selenium works with browser, the next step is learning <a href="https://medium.com/@shiviiisingh1406/finding-web-elements-in-selenium-python-understanding-locators-as-a-beginner-09e8ecbb0471">how it identifies elements on a webpage</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=988578d15858" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting Up Selenium with Python Properly — Understanding Browser Drivers and Selenium Manager]]></title>
            <link>https://medium.com/@shiviiisingh1406/setting-up-selenium-with-python-properly-understanding-browser-drivers-and-selenium-manager-876793cc91ac?source=rss-342d705025d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/876793cc91ac</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pytest]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[selenium-webdriver]]></category>
            <dc:creator><![CDATA[Shivangi Singh]]></dc:creator>
            <pubDate>Fri, 29 May 2026 16:57:15 GMT</pubDate>
            <atom:updated>2026-06-18T15:59:08.278Z</atom:updated>
            <content:encoded><![CDATA[<p>Selenium setup, browser drivers, VS Code configuration, and common setup mistakes.</p><p>After writing my first Selenium script, I realized something important:</p><pre>pip install selenium</pre><p>Simply installing Selenium using pip command does not opens browser automatically and magically.</p><p>In reality there’s a lot happening behind the scenes.</p><p>Things like:</p><ul><li>Browser drivers</li><li>Selenium Manager</li><li>Virtual environments</li><li>VS Code interpreters</li><li>Driver Version compatibility</li></ul><p>So in this article let’s understand how Selenium setup actually works, what are the commands for installation.</p><h4>Why Selenium Setup Confuses Beginners</h4><p>When we start Selenium as beginners the error we initially face are not related to test logic.</p><p>They come from setup and environment related issues like:</p><ul><li>Browser not opening</li><li>Driver errors</li><li>Incorrect Python interpreter</li><li>Package not found issues</li><li>Version mismatch</li></ul><p>In real-world automation, setup needs to be stable as it is very crucial.</p><p>If the environment is unstable:</p><ul><li>Tests become flaky</li><li>CI/CD pipelines fail</li><li>Debugging becomes frustrating</li></ul><p>To get the understanding about why these issues occur frequently, we need to understand how Selenium actually communicates with browsers internally.</p><h4>Understanding Browser Drivers</h4><p>One thing to always keep in mind that Selenium does not directly communicate with the browser. Instead, it uses browser-specific driver that act as an intermediate communication layer.</p><p>Consider these browser driver as a bridge between the Selenium and Browser. Each browser needs its own driver:</p><ul><li>Chrome → ChromeDriver</li><li>Firefox → GeckoDriver</li><li>Edge → EdgeDriver</li></ul><p>Different browsers expose different automation protocols, which is why each browser requires its own driver.</p><h4><strong><em>What is Webdriver?</em></strong></h4><blockquote>WebDriver is the browser automation interface provided by Selenium that allows code to communicate with browsers through browser drivers.</blockquote><p><strong><em>Note</em></strong>: WebDriver feels like it controls the browser but technically, it does not control it <strong>directly.</strong></p><p>What we write</p><pre>driver = webdriver.Chrome()<br>driver.get(&quot;https://google.com&quot;)</pre><p>What actually happens</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qWJl_L3CEeqmVe4x35w50g.png" /><figcaption>Selenium with Python from code to browser</figcaption></figure><p>So it creates command and sends those commands to the browser.</p><p>Then the Browser driver recieves the commands from WebDriver, converts them into browser-understandable instructions and finally executes them in the browser.</p><p>Think it like a Television control system</p><ul><li>You (Python Code) → press button of remote</li><li>Remote (WebDriver) → sends signal</li><li>Receiver (Driver) → interprets signal</li><li>TV (Browser) → performs action</li></ul><h4>What is Selenium Manager?</h4><p>In earlier version of Selenium it required manual driver setup, which was a bit hectic.</p><p>You had to:</p><ul><li>Download BrowserDriver(ChromeDriver, EdgeDriver etc.) manually</li><li>Add it to system PATH</li><li>Ensure version compatibility (Version of the BrowserDriver you installed locally and the one running in your actual browser should match)</li><li>Modern Selenium versions (Selenium 4.6+) include Selenium Manager, which helps mange browser drivers automatically.</li></ul><p>It automatically:</p><ul><li>Detects installed browser</li><li>Downloads correct driver</li><li>Manages compatibility</li></ul><pre>from selenium import webdriver<br><br>driver = webdriver.Chrome()</pre><p>No manual driver setup required anymore.</p><h4>Why Browser Version matters?</h4><p>If your browser and driver versions don’t match, you may see:</p><pre>SessionNotCreatedException</pre><p><em>Example</em>:</p><ul><li>Chrome version: 136</li><li>ChromeDriver: 132</li></ul><p>They won’t communicate properly.</p><p>That’s why Selenium Manager is helpful — it reduces these issues.</p><p><strong><em>Note</em></strong>: Even though Selenium Manager simplifies driver management, understanding browser drivers is still important because driver-related issues can still appear in real-world automation environments and CI/CD pipelines.</p><h4>Setting Up Virtual Environment</h4><p><strong><em>Prerequisites</em></strong>: Python should be installed if not then do it as</p><ul><li>Download python from <a href="https://www.python.org/downloads/">official website</a></li><li>Once downloaded click on .exe file and follow the onscreen instructions</li><li>You can check installation by typing in command prompt to check the version if shown installation is succesful.</li></ul><pre>python --version</pre><p>Now even initially you’ll feel it as an additional task but eventually when the project grows over time, without a virtual environment:</p><ul><li>Package versions conflict</li><li>Different projects break each other</li><li>Debugging becomes messy</li></ul><p><em>Steps to create:</em></p><p>In VS Code open the project folder then in the terminal execute following commands step by step.</p><pre>python -m venv venv<br>venv\Scripts\activate</pre><p>Install Selenium</p><pre>pip install selenium</pre><h4>Configuring VS Code Properly</h4><p>One of the most common mistakes that we can face while setup:</p><p>✅ Installing Selenium in one environment<br> ❌ Running code in another</p><h4>Fix:</h4><p>In VS Code:</p><ul><li>Press <strong>Ctrl + Shift + P</strong></li><li>Select <strong>Python: Select Interpreter</strong></li><li>Choose your virtual environment</li></ul><p>This ensures:</p><ul><li>Correct package usage</li><li>No import errors</li><li>Consistent execution</li></ul><h4>Running My First Driver Verification Script</h4><p>Create a python file with .py extension then use the below given code</p><pre>from selenium import webdriver<br><br>driver = webdriver.Chrome()<br>driver.get(&quot;https://www.python.org&quot;)<br><br>print(&quot;Title:&quot;, driver.title)<br><br>driver.quit()</pre><p>What this verifies:</p><ul><li>Selenium installation</li><li>Driver working</li><li>Browser opening</li><li>Proper environment setup</li></ul><p><a href="https://github.com/Shiviiisingh/selenium-python-zero-to-advanced/tree/main/beginner">selenium-python-zero-to-advanced/beginner at main · Shiviiisingh/selenium-python-zero-to-advanced</a></p><p>Check this repo above to see how to run multiple websites (<a href="https://github.com/Shiviiisingh/selenium-python-zero-to-advanced/tree/main/beginner/multiple_browser_test.py">beginner/multiple_browser_test.py)</a></p><p>Real-world use:</p><ul><li>Smoke testing</li><li>Environment validation</li><li>Deployment verification</li></ul><h4>Common Setup Errors</h4><ul><li><strong>ModuleNotFoundError</strong></li></ul><p><strong>Cause:</strong> Wrong interpreter selected<br> Fix: Select correct venv in VS Code</p><ul><li><strong>Browser Opens Then Closes</strong></li></ul><p><strong>Cause:</strong> Script finished execution<br> Fix: This is expected (not an error)</p><ul><li><strong>SessionNotCreatedException</strong></li></ul><p><strong>Cause:</strong> Version mismatch<br> Fix: Update browser or Selenium</p><ul><li><strong>NoSuchDriverException</strong></li></ul><p><strong>Cause:</strong> Driver not found / Selenium Manager issue</p><p>So this is all about Selenium and Environment setup. Initially, I had an assumption that Selenium directly opened browser later while exploring I learned how it actually works.</p><p>Initially, browser drivers, version compatibility, virtual environments, and VS Code interpreters all felt like unrelated concepts.</p><p>But understanding the communication flow between Python, Selenium, WebDriver, and the browser clarified why setup issues happen so frequently in automation testing.</p><p>In the next article, let’s start exploring <a href="https://medium.com/@shiviiisingh1406/understanding-selenium-webdriver-properly-browser-sessions-navigation-and-close-vs-quit-988578d15858">WebDriver and Browser Control commands and actual browser interaction</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=876793cc91ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Selenium with Python for Beginners — Complete Introduction to Automation Testing]]></title>
            <link>https://medium.com/@shiviiisingh1406/selenium-with-python-for-beginners-complete-introduction-to-automation-testing-7406f5a6fc8f?source=rss-342d705025d6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7406f5a6fc8f</guid>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[automation-testing]]></category>
            <category><![CDATA[pytest]]></category>
            <dc:creator><![CDATA[Shivangi Singh]]></dc:creator>
            <pubDate>Tue, 26 May 2026 16:46:00 GMT</pubDate>
            <atom:updated>2026-06-26T17:48:18.603Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N9N0Fnom--RWNET4" /><figcaption>Photo by <a href="https://unsplash.com/@arifriyanto?utm_source=medium&amp;utm_medium=referral">Arif Riyanto</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Learn Automation Testing from Scratch Using Python and Selenium with real examples.</p><p>Imagine you are testing a login page manually.</p><p>What do testers usually do every day:</p><ol><li>Open browser</li><li>Open the login page</li><li>Enter username</li><li>Enter password</li><li>Click login</li><li>Verify homepage opens</li></ol><p>You repeat same steps again and again</p><p>Now imagine doing this:</p><p>50 times a day, on Chrome, Firefox, Edge, after every code change and for hundreds of features. That becomes repetitive, slow, and error-prone. This is where <strong>Automation Testing</strong> comes in.</p><h4><strong>What is Automation testing ?</strong></h4><blockquote><em>Using software/scripts to automatically test applications instead of testing everything manually.</em></blockquote><p>Instead of a human performing steps repeatedly, a script performs them and that is what <a href="https://www.selenium.dev/documentation/?utm_source=chatgpt.com">Selenium </a>does.</p><h4><strong>What is Selenium?</strong></h4><p>Selenium is an open-source automation testing tool used to automate <strong><em>web browsers</em></strong>.</p><p>With selenium, Python code we can :</p><ul><li>automate web applications</li><li>perform testing</li><li>simulate user actions like clicking, typing, capturing screenshots</li><li>reduce repetitive manual tasks</li></ul><p>Example:</p><ul><li>Login testing</li><li>Search functionality</li><li>Cart testing</li><li>Form submission</li><li>Navigation testing</li></ul><h3>1. What is Selenium with Python and what Selenium does internally?</h3><p>Selenium itself does not directly control browsers this is where any programming language comes in scene. So here, Python acts as the programming language and Selenium acts as the browser automation library.</p><p>Together:</p><ul><li>Python gives clean readable code</li><li>Selenium controls browsers with the help of programming language and a middle layer(Webdriver).</li></ul><figure><img alt="This diagram shows the flow of automation." src="https://cdn-images-1.medium.com/max/286/1*WItUDWKteg13DjnO3aoeYA.png" /><figcaption>Python — Selenium Flow architecture</figcaption></figure><h4>Simple Real-Life Analogy</h4><p>Think of Selenium as:</p><blockquote><em>A robot hand controlling the browser.</em></blockquote><p>Think of Python as:</p><blockquote><em>The brain giving instructions to the robot.</em></blockquote><pre>driver.get(&quot;https://google.com&quot;)</pre><p>Meaning:</p><blockquote><em>“Robot, open Google.”</em></blockquote><h3>2. Why This Topic Matters</h3><p>Automation testing is one of the most important skills in modern software testing.</p><p>Almost every company today:</p><ul><li>releases features frequently</li><li>follows Agile methodology</li><li>uses CI/CD pipelines</li><li>needs faster testing</li></ul><p>Manual testing alone becomes too slow. Automation helps reduce human error.</p><h4>Industry Use Cases of Testing</h4><p><strong><em>E-commerce web</em></strong></p><ul><li>login</li><li>payment</li><li>checkout</li><li>add to cart</li></ul><p>Example:<br> Amazon style websites test thousands of flows automatically.</p><p><strong><em>Banking Applications</em></strong></p><ul><li>money transfer</li><li>account validation</li><li>OTP flow</li><li>transaction history</li></ul><p><strong><em>Healthcare Applications</em></strong></p><ul><li>patient forms</li><li>appointment systems</li><li>dashboards</li></ul><p><strong><em>SaaS Products</em></strong></p><p>Automation is heavily used for:</p><ul><li>regression testing</li><li>smoke testing</li><li>cross-browser testing</li></ul><h4><strong>Why Companies Prefer Automation</strong></h4><p>Manual Testing is slow, prone to human errors,repetitive, time consuming, and hard for long term large projects while Automation Testing is fast, reusable, more consistent, saves time and scalable for long-term and large projects.</p><h3>3. Java + TestNG vs Python + Pytest Comparison</h3><p>This comparison is extremely important because most automation resources are Java-based.</p><p><strong>Java + TestNG Approach</strong></p><p>Traditional enterprise stack:</p><ul><li>Java</li><li>Selenium</li><li>TestNG</li><li>Maven</li></ul><pre>WebDriver driver = new ChromeDriver();<br>driver.get(&quot;https://google.com&quot;);<br>System.out.println(driver.getTitle());<br>driver.quit();</pre><p><strong>Python + Pytest Approach</strong></p><p>Modern lightweight stack:</p><ul><li>Python</li><li>Selenium</li><li>Pytest</li></ul><pre>driver = webdriver.Chrome()<br>driver.get(&quot;https://google.com&quot;)<br>print(driver.title)<br>driver.quit()</pre><p>Different browsers use different drivers:</p><ul><li>Chrome — ChromeDriver</li><li>Firefox — GeckoDriver</li><li>Edge — EdgeDriver</li></ul><p>Most automation ecosystems still ominated by Java+TestNG. But Python has been growing rapidly because of its some very nice features like as</p><ul><li>cleaner syntax</li><li>faster scripting</li><li>beginner-friendly readability</li><li>less boilerplate code</li><li>easier framework development</li></ul><p>Above we have code snippets for both Java and Python let’s understand what this script does:</p><ul><li>launches Chrome browser</li><li>opens Google</li><li>prints page title</li><li>closes browser</li></ul><p><strong>Note</strong>: Don’t forget to use driver.quit() otherwise browser can be left processing in the background sometimes.</p><p>One more problem that we can encounter is browser-driver version mismatch, causing SessionNotCreatedException about which we will explore further.</p><p>This is the end of this article in further upcoming article I’ll keep documenting later on I’ll explore <a href="https://medium.com/@shiviiisingh1406/setting-up-selenium-with-python-properly-understanding-browser-drivers-and-selenium-manager-876793cc91ac">proper setup, browser drivers, VS Code</a> Configuration and much more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7406f5a6fc8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>