Selenium WebDriver Tutorial #15 - Basic Methods in WebDriver Interface - Part 2 - Notes Methods Overview: - `findElement`: Locates a single web element using various locators (e.g., ID, name, XPath). - `findElements`: Returns a list of web elements that match the locator. - `getWindowHandle`: Returns the unique identifier for the current window or tab. - `getWindowHandles`: Returns a set of unique identifiers for all open windows or tabs.
@swathikolla89063 жыл бұрын
i'm new to selenium . very nice and good info tutorials. Thank you so much sir . god bless you really !
@sheetalsf22513 жыл бұрын
new to automation. Awesome tutorial Sir!! thank you so much.
@softwaretestingmentor3 жыл бұрын
You're welcome! Keep watching for more videos!
@akshaybhad75493 жыл бұрын
Thank you sir for all interactive session it's very easy to understand
@softwaretestingmentor3 жыл бұрын
Most Welcome. Keep watching!
@anshjain713 жыл бұрын
Thank you sir for a wonderful tutorial.I am facing problem with window handles.In that I am getting a set which contains window handle for sugarcrm first page only. Please help me.
@ajaykumar-gz8df Жыл бұрын
Hi Sir, I am unable inspect the Elements, when I am giving ctrl+F directly searching in Html. can u tell me how to resolve the issue ?
@aliyahsaini74639 ай бұрын
Hi sir. As the sugarrcm website UI has been changed, I modified it according to it. After making the changes, when we click on the button and then a new tab opens, the old tab is getting closed automatically. Is it normal or not? Thank you for the tutorials by the way.
@armaantyagi4922 жыл бұрын
Thank you Sir
@freddiekhambata25063 жыл бұрын
Sir, after writing the line for driver.findElement(By.id("user-name")).sendKeys("standard_user"); the save button click says "some characters cannot be mapped using "Cp1252" character encoding. So the class is not getting saved. Could you please help me to resolve it?
@shwetas39212 жыл бұрын
Sir, I am getting "WebElement cannot be resolved to a type" and "Set cannot be resolved to a type" error. How to solve this sir?
@pranavsteyn94413 жыл бұрын
sir iam getting this error Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.gecko.driver system property; can you help me with this
@udayKUMAR-pv7bd4 жыл бұрын
Hello, As mention below error by rohit, same issue occurred with me please provide solution.
@softwaretestingmentor4 жыл бұрын
@uday KUMAR it looks like the mismatch in the library you imported in this class. Please remove all the libraries you imported and import libraries from org.openqa.selenium and not from com.sun.tools. Hope this will resolve this issue. Please comment if this fixes this issues so it is helpful for others as well. Regards,Manish