Selenium Web Driver is capable of handling multiple browser tabs. Though the requirement to automate workflows that span multiple tabs is one that automation engineers don’t come across all the time, it’s always good to know how it can be done.
Sunday, April 16, 2023
Saturday, April 1, 2023
Selenium Custom Locators
Selenium Web Driver supports both Xpath and CSS Locators as element locator strategies. As these strategies are comprehensive ideally there is no need to provide other abstract strategies such as ID and Class, but providing such strategies OOTB the designers of Selenium have lowered the entry barrier to automation using their library. So as framework developers you can take this further and provide other custom locator strategies to the users. The snippet below shows how a custom by class can be made to wrap around the XPath contains function.
Subscribe to:
Posts (Atom)
-
Why? Similar to identifying test conditions and done as part of the test analysis activity. Better medium to convey the test scope to other ...
-
whats covered: creating a custom mediator to invoke shell scripts for ESB 4.8.1. 1) Create a Mediator Project Generate a medi...
-
whats covered: fronting a bearer token secured endpoint using a mediation policy for APIM 1.10.0 If a requirement arises to front...