Tagged articles
webdriver
38 articles · Page 1 of 1
This guide explains how to determine whether a web element is visible on the screen during Selenium‑based Java automation, covering the basic isDisplayed() check, an enhanced visibility method that validates size, opacity and CSS visibility, strategies for dynamic, iframe and Shadow DOM elements, and practical best‑practice recommendations.
Element VisibilityJavaautomated testing
0 likes · 8 min read

Explore two hands‑on Selenium WebDriver examples that leverage JavaScriptExecutor to automate a login flow with visual element highlighting, retrieve page metadata, and perform asynchronous scrolling, while learning practical code snippets, execution tips, and troubleshooting strategies for robust web UI testing.
AsyncScriptJavaJavaScriptExecutor
0 likes · 9 min read

This article explains various Selenium waiting techniques—including implicit wait, fixed (hard) wait, page load strategies, and JavaScript detection—detailing their principles, advantages, disadvantages, and providing Python code examples to help choose the most suitable approach for stable and efficient automated web testing.
Automation TestingPythonselenium
0 likes · 7 min read

This article demonstrates how to automate non‑select dropdowns that allow or disallow text input, locate elements with dynamic IDs or without unique attributes using XPath, overcome click‑obstruction with JavaScript, and upload files via pywinauto when standard input elements are unavailable, all with Python Selenium code examples.
File UploadPythonXPath
0 likes · 7 min read

This guide shows how to use Python Selenium to automate login with slider captcha protection by installing dependencies, initializing ChromeDriver, locating elements, generating a human‑like drag trajectory, performing the drag action, and verifying successful login, including advanced image‑processing tips.
Pythonautomationcaptcha-bypass
0 likes · 8 min read

A Python community member asked why Selenium Chrome either fails to open or shuts down automatically, and the response clarified that the driver exits when the script ends, recommending explicit cleanup with driver.quit() to free resources and avoid lingering processes.
automationdebuggingwebdriver
0 likes · 3 min read

This comprehensive guide explains Appium’s cross‑platform architecture, walks through setting up an Android testing environment on macOS, demonstrates a full‑stack test case for an in‑app H5 page, and shares advanced techniques like a WebSocket‑based JS agent and OpenCV image‑recognition for challenging hybrid scenarios.
AndroidAppiumE2E automation
0 likes · 16 min read

This article presents a comprehensive set of Selenium Web testing best practices—including optimal locator selection, minimizing find operations, avoiding Thread.sleep(), reusing browser instances, creating atomic tests, parallel execution, disabling images, and leveraging headless mode—to dramatically improve test execution speed and reliability.
Best PracticesExplicit WaitParallel Testing
0 likes · 15 min read

This tutorial explains how to install Google Chrome and ChromeDriver on CentOS, use PHP‑WebDriver to scrape dynamic web pages, and introduces XPath syntax for locating elements, providing step‑by‑step commands, code samples, and execution results.
CentOSChromeDriverPHP
0 likes · 7 min read

This article explains how to install php-webdriver via Composer, set up a Selenium WebDriver instance in PHP, and write a script that automates a Chrome browser to scrape search results from Baidu, demonstrating key WebDriver APIs for element interaction and data extraction.
PHPautomationselenium
0 likes · 5 min read

The author recounts their progression from beginner Selenium script recording to mastering WebDriver element location and a UnitTest‑based automation framework, highlighting challenges like script failures, code redundancy, and real‑world problem solving, and emphasizes continuous learning for effective Python automation testing.
Pythonseleniumtest framework
0 likes · 6 min read

This article walks through three frequent Selenium‑Python automation problems—missing test discovery due to method naming, incorrect URLs that break page data loading, and element‑location failures after window switches—explaining their causes and step‑by‑step solutions.
Pythonautomated testingdebugging
0 likes · 7 min read

This guide explains Selenium 4's deprecation of DesiredCapabilities, shows how to use Options for Chrome, Firefox, IE and Safari, demonstrates the updated Actions API for clicks, double‑clicks, right‑clicks and drag‑and‑drop, and details the FluentWait syntax changes with code examples.
ActionsFluentWaitJava
0 likes · 11 min read

This article explains the distinction between selenium‑webdriver and browser drivers, introduces HTML basics and element attributes, and details Selenium's element‑locating APIs with practical examples of XPath and CSS selector strategies for UI automation.
HTMLUI automationXPath
0 likes · 14 min read

This article provides a comprehensive overview of the most common Selenium WebDriver exceptions, categorizes them into checked and unchecked types, details language‑specific variants for Java, C# and Python, and offers practical guidance on diagnosing and handling each exception during automated browser testing.
C++JavaPython
0 likes · 14 min read

This article explains why waiting is essential in Selenium automation, compares Thread.sleep with implicit, explicit, and fluent waits, provides detailed Java code examples for each approach, and highlights best‑practice recommendations for reliable web element interaction.
Explicit WaitImplicit WaitJava
0 likes · 14 min read

This article examines the most common Selenium automation hurdles—including false‑positive results, waiting for JavaScript loading, scalability, dynamic content, pop‑up alerts, window switching, mobile testing limitations, incomplete automation, and reporting—while offering practical Python‑based solutions and code examples to improve test stability and efficiency.
Alert HandlingExplicit WaitImplicit Wait
0 likes · 15 min read

This article introduces Nightwatch.js 1.3, outlines its new BDD interface, additional assertions and APIs, provides step‑by‑step installation of Nightwatch and browser drivers via npm, explains CLI options, demonstrates running a sample test, and offers guidance on unit testing and example projects.
JavaScriptNightwatchNode.js
0 likes · 7 min read

This tutorial demonstrates how to use Selenium with Python for explicit waits, page scrolling, zooming via CSS transforms, retrieving element size and coordinates, disabling JavaScript through Firefox profiles, and configuring manual proxy settings, providing complete code examples for each technique.
Pythonautomationselenium
0 likes · 8 min read

This tutorial walks through essential Selenium WebDriver techniques in Python, covering driver path configuration, capturing full and partial screenshots, page refresh methods, opening new tabs, cropping images with Pillow, executing JavaScript, and retrieving script results, all with clear code examples.
JavaScriptPythonTest Automation
0 likes · 10 min read

This article demonstrates Selenium 4 Alpha's new capabilities—including easier DevTools access via ChromiumDriver, independent window and tab handling, enriched relative locators, and Firefox full‑page screenshot support—by providing clear code examples and practical explanations for Java WebDriver users.
Automation TestingDevToolsselenium
0 likes · 5 min read

The article reviews Selenium 4.0 Alpha, explaining why the release matters for test automation, detailing major updates such as W3C WebDriver standardization, the revamped Selenium IDE, an easier‑to‑use Grid, enhanced observability, and refreshed documentation, and highlights the impact on both code‑centric and no‑code testing workflows.
Test Automationseleniumselenium-grid
0 likes · 7 min read

When repeatedly performing Selenium actions causes the page to refresh slowly and occasional save errors, a custom forced‑refresh method using Ctrl+F5 and low‑level key events can reliably clear the cache and keep the automation stable.
Cachepage refreshrobot
0 likes · 3 min read

This tutorial shows how to use Java and Selenium WebDriver to programmatically add a high‑school record with random scores and rankings, streamlining pagination testing by generating the required data automatically instead of entering each entry manually.
Data GenerationJavaselenium
0 likes · 4 min read

This guide demonstrates how to use Selenium WebDriver with Java to delete an existing shipping address and add a new one, including handling dropdown selections for province, city, and area, with complete code examples and step‑by‑step explanations.
Javaautomationselect
0 likes · 4 min read

When automating a download flow with Selenium Java, you may encounter three browser windows; this article explains how to enumerate all handles, switch to each window, perform actions, and close them safely using explicit checks and WebDriver commands.
Javaautomationselenium
0 likes · 4 min read

This guide explains how to solve Selenium‑Java cookie expiration by fetching the latest user token from a MySQL database and inserting only the essential MyName and User_token_Session cookies before refreshing the browser session.
automationcookiesdatabase
0 likes · 6 min read

This guide explains how to avoid Windows filename restrictions when saving Selenium WebDriver screenshots by using a time‑based naming method with safe characters and also provides a custom‑name alternative, complete with Java code examples.
Javafile namingscreenshot
0 likes · 3 min read


DevOpsMay 15, 2019 · Frontend Development
This article introduces Selenium as a suite of web UI automation tools, explains the architecture of Selenium 1 and WebDriver, details the roles of the Selenium server and client libraries, and presents a simple Java WebDriver script for logging into an ITA portal, including code snippets and element locating strategies.
JavaPythonselenium
0 likes · 12 min read

This article explains how to use the Node.js‑based Puppeteer library to automate the solving of slide‑captcha challenges by opening the target page, extracting canvas data, calculating the missing piece position, simulating a human‑like drag motion, and verifying the result, while comparing Puppeteer with Selenium/WebDriver.
PuppeteerSlide Captchaselenium
0 likes · 12 min read

This article provides a practical guide to using Selenium for web UI automation, covering environment setup, seven element locating methods, time‑control techniques, window handling, headless mode, scrolling, cookie‑based login, screenshot capture, window closing, and page refresh with Java code examples.
Javaui-automationwebdriver
0 likes · 7 min read

This article explains the origins, evolution, and technical architecture of Selenium and Appium, detailing their shared WebDriver foundation, the JSON Wire Protocol, code examples, and how client, service, and browser components interact during automated web and mobile testing.
automation-testingjson-wire-protocolwebdriver
0 likes · 8 min read

This article demonstrates how to use WebDriver (Selenium) to automate login, capture and reuse cookies, and programmatically interact with a topology page to save node coordinates, providing step‑by‑step code examples for initializing drivers, handling authentication, setting cookies, and iterating over multiple pages.
Cookieseleniumwebdriver
0 likes · 9 min read

This article demonstrates how to use Selenium WebDriver with JavaScript to automate the Geetest slider captcha, covering the captcha background, WebDriver setup, element interaction, image capture, pixel analysis, and crafting human‑like sliding trajectories to attempt bypassing the security check.
CAPTCHAGeetestselenium
0 likes · 9 min read

This article demonstrates how to use Selenium WebDriver with JavaScript to automate the Geetest sliding captcha, covering installation, element interaction, image capture, pixel analysis, and human‑like sliding trajectory generation to illustrate both the challenges and techniques involved.
CAPTCHAGeetestJavaScript
0 likes · 9 min read

This article introduces Appium, an open‑source mobile automation framework that enables cross‑platform testing of native, hybrid, and mobile web apps by abstracting device interactions through third‑party engines, WebDriver API, sessions, and desired capabilities, and includes practical code examples.
AppiumDesired CapabilitiesMobile Automation
0 likes · 5 min read

This article explains how to make the browser launched by Jenkins‑controlled WebDriver appear in the foreground and how to configure Python print statements to output logs instantly, offering multiple practical solutions for each problem.
CI/CDJenkinswebdriver
0 likes · 3 min read

This guide shows how to use Selenium WebDriver in Java to locate web elements by name, id, tag name, class name, link text, and partial link text, providing complete example code for each method to interact with input fields and links on a test page.
JavaTest Automationelement-locator
0 likes · 5 min read
