<?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>Selenium Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/selenium/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/selenium/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:14:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Selenium Chromedriver: Use Cases, Architecture, Workflow, and Getting Started Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/selenium-chromedriver-use-cases-architecture-workflow-and-getting-started-guide/</link>
					<comments>https://www.scmgalaxy.com/tutorials/selenium-chromedriver-use-cases-architecture-workflow-and-getting-started-guide/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Wed, 02 Jul 2025 12:42:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AutomatedTesting]]></category>
		<category><![CDATA[AutomationTools]]></category>
		<category><![CDATA[BrowserAutomation]]></category>
		<category><![CDATA[Chromedriver]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Selenium]]></category>
		<category><![CDATA[SoftwareTesting]]></category>
		<category><![CDATA[TechEducation]]></category>
		<category><![CDATA[WebAutomation]]></category>
		<category><![CDATA[WebScraping]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=13069</guid>

					<description><![CDATA[<p>What is Selenium Chromedriver? Selenium Chromedriver is a part of the Selenium WebDriver, a powerful tool that enables developers to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/selenium-chromedriver-use-cases-architecture-workflow-and-getting-started-guide/">Selenium Chromedriver: Use Cases, Architecture, Workflow, and Getting Started Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="850" height="474" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-27.png" alt="" class="wp-image-13078" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-27.png 850w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-27-300x167.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-27-768x428.png 768w" sizes="(max-width: 850px) 100vw, 850px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>What is Selenium Chromedriver?</strong></h3>



<p class="wp-block-paragraph"><strong>Selenium Chromedriver</strong> is a part of the <strong>Selenium WebDriver</strong>, a powerful tool that enables developers to automate the testing of web applications and interact programmatically with web browsers. The <strong>Chromedriver</strong> specifically acts as a bridge between Selenium and the <strong>Google Chrome</strong> browser, allowing Selenium scripts to perform browser actions (like clicking buttons, filling out forms, and navigating through pages) on <strong>Google Chrome</strong>.</p>



<p class="wp-block-paragraph">In the context of Selenium, <strong>WebDriver</strong> is the core component that controls and interacts with the browser, while the <strong>Chromedriver</strong> is the executable that facilitates communication between Selenium and the Chrome browser. It translates Selenium commands into actions that Chrome can understand, such as opening a page, performing a click, or capturing screenshots.</p>



<p class="wp-block-paragraph"><strong>Key Features of Selenium Chromedriver:</strong></p>



<ol class="wp-block-list">
<li><strong>Cross-platform compatibility</strong>: Works on <strong>Windows</strong>, <strong>Linux</strong>, and <strong>macOS</strong>.</li>



<li><strong>Full Control</strong>: Offers full control over the Chrome browser, allowing actions like opening URLs, interacting with page elements, taking screenshots, and more.</li>



<li><strong>Headless Mode</strong>: Supports <strong>headless browser testing</strong>, meaning that Chrome can be run without a GUI, enabling faster automation in a non-visual environment.</li>



<li><strong>Driver for Google Chrome</strong>: The Chromedriver is specifically designed for interacting with the <strong>Google Chrome</strong> browser. It directly communicates with Chrome’s DevTools and API.</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>What Are the Major Use Cases of Selenium Chromedriver?</strong></h3>



<p class="wp-block-paragraph"><strong>Selenium Chromedriver</strong> is commonly used in a variety of domains, particularly in software testing and web scraping. Below are some of the <strong>major use cases</strong> of <strong>Selenium Chromedriver</strong>:</p>



<h4 class="wp-block-heading"><strong>1. Automated Web Testing:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Selenium Chromedriver is widely used for <strong>automating web application testing</strong>. It allows developers and QA engineers to write test scripts that can interact with the Chrome browser in a real-world environment.</li>



<li><strong>Example</strong>: An e-commerce website uses Selenium Chromedriver to automatically test the checkout process, ensuring that adding items to the cart and completing a purchase works as expected.</li>



<li><strong>Why Selenium Chromedriver?</strong> It provides a way to simulate real user interactions in Chrome, ensuring that the application behaves correctly across different browsers.</li>
</ul>



<h4 class="wp-block-heading"><strong>2. Web Scraping:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Selenium Chromedriver is also used for <strong>web scraping</strong>, where data from dynamic websites is extracted. It is especially useful when websites require interaction (like clicking buttons, filling forms, or navigating through pages) to load content.</li>



<li><strong>Example</strong>: A Python script using Selenium Chromedriver can scrape job listings from a website, navigating through multiple pages to collect job titles, locations, and salary information.</li>



<li><strong>Why Selenium Chromedriver?</strong> Selenium’s ability to interact with dynamic elements and trigger JavaScript makes it a powerful tool for scraping content from modern websites.</li>
</ul>



<h4 class="wp-block-heading"><strong>3. Browser Automation:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Selenium Chromedriver allows for <strong>browser automation</strong>, enabling the automation of repetitive browser tasks like filling out forms, interacting with dynamic elements, or simulating user behavior for testing or data entry.</li>



<li><strong>Example</strong>: Automating the process of logging into a website, performing data entry, and generating reports without manual intervention.</li>



<li><strong>Why Selenium Chromedriver?</strong> It provides a simple and powerful interface to control the Chrome browser for automation, improving efficiency and accuracy in repeated tasks.</li>
</ul>



<h4 class="wp-block-heading"><strong>4. Continuous Integration/Continuous Deployment (CI/CD):</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: In modern <strong>CI/CD pipelines</strong>, Selenium Chromedriver is often integrated to automate the testing of web applications as part of the deployment process.</li>



<li><strong>Example</strong>: A <strong>Jenkins</strong> pipeline uses Selenium Chromedriver to run tests on a web application every time new code is pushed to the repository.</li>



<li><strong>Why Selenium Chromedriver?</strong> It allows for the automation of web tests in the CI pipeline, ensuring that issues are detected early in the development cycle.</li>
</ul>



<h4 class="wp-block-heading"><strong>5. Performance Testing:</strong></h4>



<ul class="wp-block-list">
<li><strong>Use Case</strong>: Selenium Chromedriver can be used for <strong>performance testing</strong> by simulating real-user interactions and measuring the response times and load times of the web application.</li>



<li><strong>Example</strong>: Testing how quickly a page loads when multiple users are interacting with the application simultaneously.</li>



<li><strong>Why Selenium Chromedriver?</strong> It can simulate user interactions and generate real-time load data, which is important for evaluating the performance of the application.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>How Selenium Chromedriver Works Along with Architecture?</strong></h3>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="683" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-28-1024x683.png" alt="" class="wp-image-13079" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-28-1024x683.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-28-300x200.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-28-768x512.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/07/image-28.png 1536w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Selenium WebDriver, including Chromedriver, follows a <strong>client-server architecture</strong> for browser automation. Here’s how <strong>Selenium Chromedriver</strong> works in this architecture:</p>



<h4 class="wp-block-heading"><strong>1. Selenium WebDriver:</strong></h4>



<ul class="wp-block-list">
<li><strong>Role</strong>: The WebDriver acts as the <strong>client</strong> and sends commands (such as opening a page, clicking a button, etc.) to the browser.</li>



<li><strong>How It Works</strong>: It interacts with the browser through a driver. In the case of Google Chrome, the <strong>Chromedriver</strong> is used to communicate between Selenium and Chrome.</li>
</ul>



<h4 class="wp-block-heading"><strong>2. Chromedriver (Server):</strong></h4>



<ul class="wp-block-list">
<li><strong>Role</strong>: The <strong>Chromedriver</strong> acts as a <strong>server</strong> that listens for commands from the WebDriver client and translates those commands into actions that Chrome can perform.</li>



<li><strong>How It Works</strong>: Chromedriver directly communicates with Chrome’s internal API to execute commands such as navigating to a URL, interacting with page elements, or performing JavaScript operations. It runs the browser in a headless mode or with a visible UI based on the configuration.</li>
</ul>



<h4 class="wp-block-heading"><strong>3. Communication:</strong></h4>



<ul class="wp-block-list">
<li>Selenium WebDriver and Chromedriver communicate via a <strong>JSON wire protocol</strong>, which allows requests to be sent and responses to be received in a standardized format.</li>



<li><strong>Command Flow</strong>:
<ol class="wp-block-list">
<li>The WebDriver sends an HTTP request with a command to the <strong>Chromedriver</strong>.</li>



<li><strong>Chromedriver</strong> translates that command and sends it to the <strong>Chrome browser</strong>.</li>



<li><strong>Chrome</strong> performs the action (like clicking a button or opening a URL) and sends a response back to <strong>Chromedriver</strong>.</li>



<li><strong>Chromedriver</strong> returns the result to the <strong>WebDriver</strong>, completing the operation.</li>
</ol>
</li>
</ul>



<h4 class="wp-block-heading"><strong>4. Web Browser (Chrome):</strong></h4>



<ul class="wp-block-list">
<li><strong>Role</strong>: Chrome executes the actual browser operations based on the commands sent by <strong>Chromedriver</strong>.</li>



<li><strong>How It Works</strong>: Chrome renders the webpage, handles JavaScript, interacts with the DOM, and performs any other actions requested by <strong>Chromedriver</strong>.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>What Are the Basic Workflow of Selenium Chromedriver?</strong></h3>



<p class="wp-block-paragraph">The basic workflow of <strong>Selenium Chromedriver</strong> involves several steps, from setting up your environment to executing browser automation tasks. Here’s a breakdown of the typical workflow:</p>



<h4 class="wp-block-heading"><strong>1. Install and Set Up Selenium:</strong></h4>



<ul class="wp-block-list">
<li><strong>Install Selenium WebDriver</strong> and the <strong>Chromedriver</strong> for the version of Chrome you’re working with. This can be done via package managers like <strong>pip</strong> (Python) or <strong>npm</strong> (Node.js).</li>



<li><strong>Example</strong>: </li>
</ul>



<pre class="wp-block-code"><code>pip install selenium
</code></pre>



<ul class="wp-block-list">
<li>Download the Chromedriver from the official <strong>Chromium website</strong> based on your operating system.</li>
</ul>



<h4 class="wp-block-heading"><strong>2. Create and Configure a WebDriver Instance:</strong></h4>



<ul class="wp-block-list">
<li><strong>Set Up WebDriver</strong> to interact with Chrome. Define the path to the Chromedriver executable in your script.</li>



<li><strong>Example (Python)</strong>: </li>
</ul>



<pre class="wp-block-code"><code>from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))
driver.get("https://www.example.com")
</code></pre>



<h4 class="wp-block-heading"><strong>3. Interact with the Web Page:</strong></h4>



<ul class="wp-block-list">
<li>Use <strong>Selenium WebDriver</strong> commands to interact with elements on the webpage. You can locate elements using various methods like <strong>ID</strong>, <strong>class name</strong>, <strong>name</strong>, or <strong>XPath</strong>.</li>



<li><strong>Example</strong>: </li>
</ul>



<pre class="wp-block-code"><code># Locate an element by ID and click it
button = driver.find_element_by_id("submitButton")
button.click()
</code></pre>



<h4 class="wp-block-heading"><strong>4. Perform Tasks like Clicking, Filling Forms, and Scraping:</strong></h4>



<ul class="wp-block-list">
<li>Automate tasks such as <strong>clicking buttons</strong>, <strong>filling out forms</strong>, or <strong>scraping content</strong> from web pages using WebDriver commands.</li>



<li><strong>Example (Filling out a form)</strong>: </li>
</ul>



<pre class="wp-block-code"><code>username = driver.find_element_by_name("username")
password = driver.find_element_by_name("password")
username.send_keys("myUsername")
password.send_keys("myPassword")
</code></pre>



<h4 class="wp-block-heading"><strong>5. Wait for Elements to Load (Explicit/Implicit Wait):</strong></h4>



<ul class="wp-block-list">
<li>Use <strong>explicit waits</strong> or <strong>implicit waits</strong> to ensure elements are loaded before performing actions, preventing errors caused by trying to interact with elements that aren’t yet rendered.</li>



<li><strong>Example</strong>: </li>
</ul>



<pre class="wp-block-code"><code>from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

wait = WebDriverWait(driver, 10)
element = wait.until(EC.presence_of_element_located((By.ID, "myElement")))
</code></pre>



<h4 class="wp-block-heading"><strong>6. Close the Browser:</strong></h4>



<ul class="wp-block-list">
<li>Once all tasks are completed, close the <strong>Chrome browser</strong> using the <code>quit()</code> method.</li>



<li><strong>Example</strong>: </li>
</ul>



<pre class="wp-block-code"><code>driver.quit()
</code></pre>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h3 class="wp-block-heading"><strong>Step-by-Step Getting Started Guide for Selenium Chromedriver</strong></h3>



<p class="wp-block-paragraph">Follow these steps to get started with <strong>Selenium Chromedriver</strong>:</p>



<h4 class="wp-block-heading"><strong>Step 1: Install Dependencies</strong></h4>



<ul class="wp-block-list">
<li>Install <strong>Selenium</strong> and <strong>Chromedriver</strong>: </li>
</ul>



<pre class="wp-block-code"><code>pip install selenium
</code></pre>



<ul class="wp-block-list">
<li>Download the <strong>Chromedriver</strong> that matches your version of <strong>Google Chrome</strong> from the official site.</li>
</ul>



<h4 class="wp-block-heading"><strong>Step 2: Set Up a WebDriver Instance</strong></h4>



<ul class="wp-block-list">
<li>Initialize <strong>WebDriver</strong> to communicate with Chrome: </li>
</ul>



<pre class="wp-block-code"><code>from selenium import webdriver
driver = webdriver.Chrome(executable_path='/path/to/chromedriver')
driver.get('https://www.google.com')
</code></pre>



<h4 class="wp-block-heading"><strong>Step 3: Automate Browser Actions</strong></h4>



<ul class="wp-block-list">
<li>Start automating actions like clicking buttons, filling out forms, and navigating through web pages.</li>



<li>Use <strong>WebDriver</strong> methods like <code>find_element_by_id()</code>, <code>find_element_by_name()</code>, or <code>find_element_by_xpath()</code>.</li>
</ul>



<h4 class="wp-block-heading"><strong>Step 4: Add Waits</strong></h4>



<ul class="wp-block-list">
<li>Add waits to ensure elements are loaded before interacting with them. </li>
</ul>



<pre class="wp-block-code"><code>from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

wait = WebDriverWait(driver, 10)
element = wait.until(EC.presence_of_element_located((By.ID, "element_id")))
</code></pre>



<h4 class="wp-block-heading"><strong>Step 5: Run and Test Your Script</strong></h4>



<ul class="wp-block-list">
<li>Execute the script and check that it performs the automated browser actions as expected.</li>
</ul>



<h4 class="wp-block-heading"><strong>Step 6: Close the Browser</strong></h4>



<ul class="wp-block-list">
<li>After the automation tasks are complete, ensure that the browser is closed. </li>
</ul>



<pre class="wp-block-code"><code>driver.quit()
</code></pre>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/selenium-chromedriver-use-cases-architecture-workflow-and-getting-started-guide/">Selenium Chromedriver: Use Cases, Architecture, Workflow, and Getting Started Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/selenium-chromedriver-use-cases-architecture-workflow-and-getting-started-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is Selenium?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-selenium/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-selenium/#respond</comments>
		
		<dc:creator><![CDATA[narayan k]]></dc:creator>
		<pubDate>Mon, 16 Aug 2021 10:19:51 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Multi-Browser Compatibility]]></category>
		<category><![CDATA[Selenium]]></category>
		<category><![CDATA[Selenium Grid]]></category>
		<category><![CDATA[Selenium Remote Control]]></category>
		<category><![CDATA[WebDriver]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7970</guid>

					<description><![CDATA[<p>Selenium is a free automated testing framework that is used to validate web applications in different browsers and platforms. To [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-selenium/">What is Selenium?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Selenium is a free automated testing framework that is used to validate web applications in different browsers and platforms. To create Selenium test scripts you can use multiple programming languages such as Java, C #, Python, and more.</p>



<p class="wp-block-paragraph">Here is the list of tools in <strong>Selenium</strong>:</p>



<ul class="wp-block-list"><li>Selenium Integrated Development Environment (IDE)</li><li>Selenium Remote Control (RC)</li><li>WebDriver</li><li>Selenium Grid</li></ul>



<h4 class="wp-block-heading">Who can learn this course?</h4>



<ul class="wp-block-list"><li>Basic understanding of java or any other object-oriented programming language.</li><li>Should have knowledge C#, Java, Perl, PHP, Python, and Ruby.</li></ul>



<h4 class="wp-block-heading">Benifits of Selenium:</h4>



<ul class="wp-block-list"><li>Language and Framework Support</li><li>Open Source Availability.</li><li>Multi-Browser Support</li><li>Ease Of Implementation</li><li>Reusability and Integrations.</li><li>Flexibility.</li></ul>



<h4 class="wp-block-heading">What are the features of selenium?</h4>



<ul class="wp-block-list"><li>Multi-Browser Compatibility.</li><li>Multiple Language Support.</li><li>Speed and Performance.</li><li>Handling of Dynamic Web Elements.</li><li>Easy to Identify and use web elements.</li></ul>



<h4 class="wp-block-heading">How does Selenium works?</h4>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="721" height="301" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/How-Selenium-Works.jpg" alt="" class="wp-image-7971" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/How-Selenium-Works.jpg 721w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/How-Selenium-Works-300x125.jpg 300w" sizes="(max-width: 721px) 100vw, 721px" /></figure></div>



<p class="wp-block-paragraph">Selenium works through API commands, such as GET and POST, and Selenium will act based on script requests. Requests are then sent to the browser driver&#8217;s HTTP server as well as to browsers via HTTP.</p>



<h4 class="wp-block-heading">What is the main role of Selenium in the software testing process?</h4>



<p class="wp-block-paragraph">Selenium has become one of the most popular testing tools, mainly because it is an open-source framework and it enables skilled testers to automate many testing processes, such as Functional Testing and Regression Testing.</p>



<h4 class="wp-block-heading"><a href="https://www.devopsschool.com/certification/master-in-selenium.html" target="_blank" rel="noreferrer noopener">Selenium </a>Agenda:</h4>



<div class="wp-block-image"><figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="843" height="451" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/selenium-agenda.png" alt="" class="wp-image-7972" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/selenium-agenda.png 843w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/selenium-agenda-300x160.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/selenium-agenda-768x411.png 768w" sizes="auto, (max-width: 843px) 100vw, 843px" /></figure></div>



<h4 class="wp-block-heading">Why is selenium popular?</h4>



<p class="wp-block-paragraph">Selenium has a large and active user community that provides extensive support. This makes the equipment highly resourceful and cost-effective.</p>



<p class="wp-block-paragraph">To get more clarify, see these videos:</p>



<figure class="wp-block-embed is-type-rich is-provider-embed-handler wp-block-embed-embed-handler wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="Selenium Fundamental Tutorials Part-1 - By DevOpsSchool" width="900" height="506" src="https://www.youtube.com/embed/9o12HASgKK0?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-selenium/">What is Selenium?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-selenium/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to run UI testing in Docker container using Selenium</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-run-ui-testing-in-docker-container-using-selenium/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-run-ui-testing-in-docker-container-using-selenium/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 11 Apr 2018 07:17:35 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Selenium]]></category>
		<category><![CDATA[UI testing]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4890</guid>

					<description><![CDATA[<p>Docker is one of the revolutions technologies which has created lots of buzz in the Software development practices. Docker has [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-ui-testing-in-docker-container-using-selenium/">How to run UI testing in Docker container using Selenium</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5122" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/04/docker-container.png" alt="" width="600" height="315" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/04/docker-container.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/04/docker-container-300x158.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Docker is one of the revolutions technologies which has created lots of buzz in the Software development practices. Docker has not only helped to setup Continuous Integration and Delivery but also manage and replicate test environments and deploy a large at scale in no time. Here are the following advantages which benefit to testing team using docker</p>
<ul>
<li>Docker will help setting up Continuous Integration and Delivery which will enable testing team to deploy and test application in very less time compare of using virtual machines.</li>
<li>Efficient software teams push code to production multiple times a day. But this only works with good processes in place. Pull requests, code reviews, and good test coverage are essential for enabling a fast pace and high output of new code. Docker will help QA team to enable this in no time</li>
<li>Docker Compose help to create a Application Stake for Developers and QA in very less time.</li>
<li>Docker allows you to run your tests in containers as well as isolate your tests in development and deployment.</li>
<li>Using Docker to manage and replicate test environments in no time.</li>
</ul>
<p>But there is one limitation. The major problem of a Docker container for UI testing is that it does not have a screen output. <strong>There are in general two solutions:</strong></p>
<ol>
<li><strong> Use a headless browser such as HTMLUnit that does not require a graphical user interface or </strong></li>
<li><strong> Simulate a screen output.</strong></li>
</ol>
<p>Recommended is second one because in this case you do not need to change my testing code to use a WebDriver for a headless browser. Moreover, headless browser may not have full functionalities of a real browser.  What I need is a display server called Xvfb or X virtual frame buffer. It performs all graphical operations in memory without showing any screen output.</p>
<p><strong>You can find sample example in following urls.</strong></p>
<p><a href="https://medium.com/@yiquanzhou/run-selenium-ui-tests-in-docker-container-78be98e1b52d">https://medium.com/@yiquanzhou/run-selenium-ui-tests-in-docker-container-78be98e1b52d</a></p>
<p>http://testnblog.com/ui-automation-framework-on-docker/</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-run-ui-testing-in-docker-container-using-selenium/">How to run UI testing in Docker container using Selenium</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-run-ui-testing-in-docker-container-using-selenium/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
