
Identify web elements with Selenium WebDriver, navigate, and manipulate them for automated testing. Interrogate elements, execute mouse and keyboard interactions, and apply synchronization techniques to ensure reliable tests.
Master element identification with Selenium WebDriver by learning HTML basics, locator types, and XPath to locate and interact with fields, links, radio buttons, and tables.
Identify prerequisites for this section, including Visual Studio and an id, then practice Selenium WebDriver with ChromeDriver and browser while using two sites for element identification and W3Schools tutorials.
Master element identification and manipulation with selenium webdriver, covering navigation, interacting with web elements, interrogation, mouse and keyboard interactions, and synchronization techniques.
Master element identification with Selenium WebDriver by learning HTML basics, locator types, and XPath to locate and interact with fields, links, radio buttons, regular buttons, and HTML tables.
Use Chrome developer tools to locate elements by inspecting HTML, using the element picker, and building XPath, CSS selectors, or string-based locators for Selenium.
Leverage Chrome developer tools to copy element details, including absolute XPath and CSS selectors, and learn why relative paths offer more robust element targeting for Selenium WebDriver.
Learn HTML basics to identify web elements with Selenium WebDriver, including tag types such as h1, img, and a, and how opening tags, attributes, and href guide element selection.
Explore how to inspect web elements in Chrome DevTools, identify tags like a and div, and understand attributes such as class, href, and id to locate elements.
Explore selenium web driver location strategies by using class name, id, link text, name, partial link text, tag name, css selector, and xpath to identify and manipulate web elements.
Highlight elements with JavaScript to create yellow highlights and demonstrate Selenium element locating—class name, id, link text, name partial link text, CSS selector, and XPath—using a Chrome driver.
FindElement and FindElements locate elements using By, returning an IWebElement or a collection, and throw NoSuchElementException if not found; then highlight with a seven-pixel yellow border via a JavaScript executor.
Test your understanding of element identification by clicking a link using multiple location strategies, navigate to the URL, and fill in the required details to see the answers.
Learn element identification in Selenium WebDriver through debugging, using id, class name, link text, and xpath; handle collections with find elements and select the correct element by index.
Use id locators as the primary choice for stable, unique element interaction, and ask developers to add ids when missing; avoid absolute xpath and tag-name selectors.
Explore an efficient debugging technique for Selenium WebDriver tests by using the immediate window to evaluate element locators at run time, test interactions, and pause code for quick fixes.
Learn how XPath helps locate web elements when standard locators fail and master key expressions like forward slash, double forward slash, and star.
Learn how XPath navigation traverses the document with forward slash for direct child access and double forward slash for direct tag searches, enabling faster element targeting.
Learn to use asterisk and @ in XPath to locate elements, traverse forms and buttons, and create an excellent locator by focusing on tag names and the class attribute.
Use the at symbol to select elements by attributes such as name and type submit in Selenium WebDriver, then traverse to parent with the double dot for precise, unique locators.
Use the XPath contains() function to locate elements by text, enabling you to interact with buttons that share an id but differ in their visible text.
Explore XPath expressions to identify a parent and navigate to following-sibling or preceding-sibling elements in Selenium. Learn that compound class names with spaces require XPath, not Selenium class-name selectors.
Learn to identify elements in Selenium WebDriver by using multiple attributes in XPath, such as type submit and class, to narrow a selector from a collection.
Tackle a challenging XPath exam that tasks you to click radios, select a checkbox, choose from a dropdown, and verify tab two using text hints and the click method.
Learn to locate and interact with web elements in Selenium WebDriver using radios, dropdowns, and buttons, with XPath and class name strategies. Verify tab states and debug tests efficiently.
Explore navigation with selenium web driver using the navigate API to access go to, forward, back, and refresh methods; learn string and URI object options.
Practice selenium web driver navigation by identifying elements, asserting titles, and clicking links. Learn back navigation and title checks with the assert class, comparing actual versus expected.
Navigate to a page, retrieve and assert the page title matches the driver title, click a link via XPath, go back, and re-verify the title.
Learn to manipulate web page elements with Selenium WebDriver by finding elements (e.g., by id) and performing clear, click, send keys, and submit actions.
Use Selenium WebDriver to locate form fields by id or class name, clear and type with send keys, click first submit button, then verify the 'filled out form successfully' message.
Engage in a practical quiz on element manipulation for Selenium WebDriver, practicing programmatic form filling and captcha solving to submit and trigger a success message.
Navigate complex selenium forms by using find elements to interact with the second duplicate form field. Compute the capture with data table, convert to int, and confirm the success message.
Master driver interrogation to access the web driver's properties, such as current window handle, window handles, page source, and title, then perform element interrogation to extract data from elements.
Explore how Selenium WebDriver retrieves the page title and current URL, and how the URL path reflects navigation like /automation. Then shift focus from driver-level interrogations to element interrogations.
Learn elementary interrogation of web elements with Selenium WebDriver, inspecting properties such as displayed, enabled, location, size, tag name, text, and attributes via get attribute and get CSS value.
Explore IWebElement properties in Selenium, including displayed, enabled, location, size, tag name, and text, and use getAttribute and getCssValue to inspect attributes and CSS like margin and padding.
Explore element interrogation with a Selenium WebDriver quiz that verifies a test button's id, type, letter spacing, visibility, enabled state, text, tag name, size, and location.
Learn how to interrogate a web element in Selenium WebDriver by inspecting id, type, text, tag name, height, and location; location-based locating is brittle and should be avoided.
Master navigation and element manipulation with Selenium WebDriver, including finding, clearing, clicking, sending keys, and interrogating attributes and text; prepare for mouse and keyboard actions like drag and drop.
Explore user interactions in Selenium WebDriver, learn various action types, perform drag and drop, resize elements, and open the developer toolbar to monitor http web requests.
Master user interactions with Selenium WebDriver, including drag-and-drop, click-and-hold, double-click, and sending keys, via an action class; use developer tools to inspect network tasks and complete quizzes.
Explore how user interactions in selenium webdriver mimic real actions, from dragging and dropping to double-clicking and opening developer tools, noting usefulness and cross-browser flakiness as a last resort.
Explore the two types of user interactions in Selenium: mouse actions and keyboard actions. Create an actions object and use build and perform to execute clicks and key presses.
Learn to implement the actions class in Selenium WebDriver to simulate complex user interactions, set up a test project, manage packages, and create a driver for automated UI testing.
Analyze our application under test by implementing drag-and-drop with Selenium WebDriver, validating with text changes, and handling iframes for inner elements in a jQuery UI.
Explore the Selenium WebDriver actions class and its methods for drag and drop, click, move, and key events, then implement frame switching and synchronization to interact with page elements.
Interact with page elements by using drag and drop with a source and target, locate elements by id, perform the action, and verify the target text changes after drop.
Master dragging and dropping web elements with Selenium WebDriver by running a debug test in Firefox, switching frames, locating source and target elements, and validating the drop action.
Explore an alternative drag and drop using the actions class (click and hold, move to, release) and see how the dry principle refactors setup and teardown for reusable tests.
Explore a second drag and drop in selenium web driver using the actions class to click, hold, move, and release, highlighting dry and page object patterns for reusable tests.
Learn how to perform drag and drop with Selenium WebDriver using user interactions, including setup and teardown, build and debug, and page object reuse for reliable test runs.
Practice drag and drop with a quiz, moving the drag me element into the draw me target and confirming the drop; write a test to perform and verify it.
Learn to handle drag-and-drop quiz with Selenium WebDriver by switching to frames, locating elements with XPath, validating post-action text, and using explicit waits to manage slow pages.
Open the browser network tab via developer tools to debug slow loads, then use Selenium WebDriver with the Actions class and Keys to simulate keyboard input.
Open the Firefox network tab during a Selenium WebDriver test to observe network calls and diagnose page slowdowns, using the actions class for drag, drop, and iframe interactions.
Practice dragging an element to its target using html5 drag and drop, and assert the element lands in the correct location on a Selenium WebDriver quiz.
Discover how to perform HTML5 drag and drop in Selenium using a helper script and JavaScript executor to simulate dragging from a source to a target by IDs.
Learn to perform drag-and-drop with HTML5 in Selenium WebDriver, verify the swap of column elements via assertions, and debug tests to ensure reliable results.
Engage in a practical selenium quiz by drawing on a canvas to practice gooey interactions and coding skills, reinforcing how to work with elements in web driver.
Explore attempting to draw on a canvas with selenium, from actions class to drag-and-drop, and learn when automation is too time-consuming and better redirected to broader tests.
Summarize the key techniques for interacting with web elements using Selenium WebDriver, including the actions class, drag and drop, click and hold, resizing, and debugging with the network tab.
Discover implicit and explicit waits in Selenium WebDriver, learn why tests may be flaky due to synchronization, and explore expected conditions across four sub-sections.
Master synchronization in Selenium WebDriver by exploring implicit waits, explicit waits, expected conditions, and the default wait class, with intermediate prerequisites and practical references.
Explain why synchronization challenges matter in automated testing and demonstrate a dynamic element scenario using a browser driver, setup/teardown, and a start button that reveals Hello world.
Explore why Selenium WebDriver test fails when dynamically loaded elements are not visible. Diagnose with breakpoints, stepping through, and understanding element not visible exceptions.
Investigate synchronisation in selenium web driver by tracing a failure caused by a loading screen and a non-displayed hello world element that runs too fast for the app.
Align synchronization in Selenium WebDriver to ensure automated tests mimic the application's functionality, reducing intermittent failures, false positives and negatives, and slow execution in ci.
Set an implicit wait to five seconds to poll the DOM for elements, reducing synchronization issues and preventing the no such element exception in Selenium WebDriver tests.
Learn to implement implicit waits using the driver's implicitly wait method, configure time spans such as seconds, and handle dynamically loading elements in tests.
Explore how to implement an implicit wait of five seconds to load an element, reuse a try find method, and validate that the Selenium WebDriver test passes.
Explain how implicit waits waste time validating that an element does not appear, such as a loading icon, avoiding no such element exceptions; learn how explicit waits improve test efficiency.
Explore the disadvantages of implicit waits in Selenium WebDriver, showing how fixed waits can slow tests from dev to prod and how shorter waits require careful management.
Learn how to use explicit waits in selenium to wait for specific conditions, contrast with implicit waits, avoid thread.sleep, and review practical examples on a dynamic loading screen.
Learn how to use the WebDriverWait class to wait for elements with a maximum timeout and a configurable polling interval, via explicit wait and the until method, with practical examples.
Discover how to create a WebDriverWait with a clock and a polling interval, using expected conditions for a cleaner test log when running in cloud services like BrowserStack.
Learn to use Selenium's expected conditions to verify elements and alerts, ensure visibility with wait until, and simplify code with static imports for cleaner element checks.
Explore explicit waits and the expected conditions in Selenium WebDriver, and understand the timeout exception when an element cannot be located, plus a quiz on four wait implementations.
Compare four tests to identify how explicit waits affect element identification times, noting that a hard-coded ten-second sleep makes the test slowest; prefer explicit waits with expected conditions.
Learn to use explicit waits in Selenium WebDriver for dynamic element handling, avoid mixing implicit and explicit waits, which can cause unpredictable delays across local and remote browsers.
Explore the fluent wait and its equivalent default wait in Selenium, configure timeout and polling interval, and handle ignored exceptions while using the until method to wait for elements.
Examine the default wait pattern in.selenium's web driver wait class, using a 10-second timeout with a one-second polling interval, and compare it to the more convenient implementations.
Review synchronization importance to prevent flaky tests and restore team trust in automation. Explain implicit and explicit waits, WebDriverWait, and expected conditions to reliably handle element states.
Are you struggling with working with HTML using Selenium WebDriver? Do you know how to easily identify an element using Selenium WebDrriver? Do you know how to manipulate that web element? Do you know to to perform a drag n' drop on an element? If not, then these are just a few of the questions that will be answered in this course.
This course is a complete guide on working with web elements in Selenium WebDriver! Once you are finished with this course, you will know how to work with any web elements, any time, on any web application.
"Relevant content that I will be able to apply to my automation tests *immediately*, a VERY effective presentation approach (evolving the same example and comparing/contrasting), and an excellent teacher / presenter. Thank you so much for your time and sharing your knowledge Nikolay!." -Krissy
What will you learn?
- Basics of HTML
- All the different locator strategies for Selenium WebDriver
- How to identify web elements using Selenium WebDriver
- Master XPath
- Navigation with Selenium WebDriver
- Web element manipulation
- Web element interrogation
- Mouse and keyboard actions with Selenium WebDriver
- Performing actions such as drag n' drop, drawing, hovering
- Implicit and Explicit waits
- How to properly handle element identification so that your tests are not flaky
- Expected Conditions in Selenium WebDriver
What my students are saying:
"The best tutorials I have ever seen, simply awesome. I take off my hat in front of you, you are an gorgeous professor, I am speechless to express how satisfied I am with these tutorials." -Lisbey
"I've been searching for good Selenium C# videos since December 2014. I've been using the IDE but now it's mandatory that I use webdriver. Just in the past few videos I have been provided with more useful information than I've discovered independently in 23 months. Thank you for creating this series" -Kay