Most voted questions in Selenium

0 votes
1 answer

Can anyone demonstrate how navigation commands can be used on a webpage in Selenium?

Hey Amanprit, Navigation Commands are used to ...READ MORE

Jul 5, 2019 in Selenium by Anvi
• 14,150 points
476 views
0 votes
1 answer

How can I handle/verify tooltip in Selenium Webdriver?

Hey Amardeep, tooltips are help or info ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
413 views
0 votes
1 answer

Is it possbile to perform page scroll up/down using Robot class in Selenium?

Hey Ashwin, yes it is possible to ...READ MORE

Jul 5, 2019 in Selenium by Anvi
• 14,150 points
6,982 views
0 votes
1 answer

How to scroll up/down a page using Actions class in Selenium?

Hi Naetik, you can use Actions class ...READ MORE

Jul 5, 2019 in Selenium by Anvi
• 14,150 points
19,952 views
0 votes
1 answer

What is setScriptTimeout() command in Selenium Webdriver?

Hey Larry, as per the official definition:  setScriptTimeout() ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
3,313 views
0 votes
1 answer

What are the drawbacks of using thread.sleep() command in Selenium Webdriver?

Hey Eric, some of the drawbacks of ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
10,614 views
0 votes
1 answer

What are the limitations of using JUnit?

Hey Sumit, JUnit is a very good ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 28,140 points
4,173 views
0 votes
1 answer

How can I resolve NoSuchElementException error thrown by findElement function in Selenium Webdriver?

Hello Dinesh, this error usually occurs when ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
3,461 views
0 votes
1 answer

How to stop test execution in Selenium if an error occured?

Hey Fatima, if you are using any ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 28,140 points
10,678 views
0 votes
1 answer

How to verify page title in Selenium?

Hey Janvi, you can verify a page's ...READ MORE

Jul 4, 2019 in Selenium by Lavanya
13,355 views
0 votes
1 answer

How to get the TagName of a particular WebElement using Selenium Webdriver?

Hey Paula, to get the tagname of ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 28,140 points
11,180 views
0 votes
1 answer

I want to create a Custom ExpectedCondition to test a specific condition in Selenium. is it possible to achieve the same?

Hey @Revathy, yes it is possible to ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
4,602 views
0 votes
1 answer

What are the types of ExpectedConditions used with Explicit waits?

Hey Martha, mainly there are 2 types ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 28,140 points
898 views
0 votes
1 answer

What is ExpectedCondition in Selenium Webdriver?

Hey Gurdeep, ExpectedConditions are provided by Selenium ...READ MORE

Jul 4, 2019 in Selenium by Abha
• 28,140 points
2,210 views
0 votes
1 answer

Is it possible to use webdriverwait for checking the visiblity of an element in webdriver?

Hello Jagdeep, Yes it is possible to ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
4,189 views
0 votes
1 answer

How can I create an object of WebDriverWait class?

Hey Harman, you can create object of ...READ MORE

Jul 4, 2019 in Selenium by Rashid
1,347 views
0 votes
1 answer

Can anyone help me with the hierarchy or order in which TestNG Annotations execute?

Hey Vineet, TestNG Annotations run in the ...READ MORE

Jul 3, 2019 in Selenium by Ankita
1,197 views
0 votes
1 answer

Can anyone demonstrate with an example how the TestNG Annotations behave while running a testng.xml file?

Hey Sharman, TestNG annotations behave in the ...READ MORE

Jul 3, 2019 in Selenium by Sam
644 views
0 votes
2 answers

How to verify color of a web element in Selenium Webdriver?

document.getElementsByTagName('div')[0].style.backgroundColor READ MORE

Aug 31, 2020 in Selenium by Sri
• 3,190 points
17,024 views
0 votes
1 answer

How can I find broken or invalid images on a webpage using Webdriver?

Hey @Lucy, to find the broken or ...READ MORE

Jul 3, 2019 in Selenium by Junaid
5,927 views
0 votes
1 answer

Does Selenium WebDriver Support Record And Playback Facility?

Hi Gurminder, Selenium Webdriver doesn't support Record ...READ MORE

Jul 3, 2019 in Selenium by Emraan
3,581 views
0 votes
1 answer

Is it possible to get existing page source and save it to a string in Selenium?

Hey Kushal, you can use Browser command ...READ MORE

Jul 3, 2019 in Selenium by Rashmika
1,538 views
0 votes
1 answer

What is Webdriver Backed Selenium and why it is used?

Hey Shushma, WebDriverBackedSelenium is an implementation of the ...READ MORE

Jul 3, 2019 in Selenium by Abha
• 28,140 points
3,737 views
0 votes
1 answer

How to run Selenium 1.0 tests in Selenium Webdriver?

Hey @Ipshita, We can use WebDriverBackedSelenium() method to ...READ MORE

Jul 3, 2019 in Selenium by Anvi
• 14,150 points
687 views
0 votes
1 answer

How can I send some data to a Prompt Alert box using Selenium Webdriver?

Hey Abhishek, you can use sendKeys() method ...READ MORE

Jul 3, 2019 in Selenium by Abha
• 28,140 points
8,913 views
0 votes
1 answer

How to capture the text from Alert Message in Selenium Webdriver?

Hello @Farhan, you can use getText() method ...READ MORE

Jul 3, 2019 in Selenium by Anvi
• 14,150 points
10,531 views
0 votes
1 answer

Is it possible to open a web page in a specific languages like Japanese or Chinese using Selenium Webdriver?

Hey Pratyush, yes it is possible to ...READ MORE

Jul 2, 2019 in Selenium by Rubina
3,778 views
0 votes
1 answer

Can anyone demonstrate how Actions class can be used to perform mouse and keyboard events using Selenium?

Hey Kunal, Advanced User Interactions API handles ...READ MORE

Jul 2, 2019 in Selenium by Sanjeev
676 views
0 votes
1 answer

What is the main purpose of using Firefox Profiles in Selenium?

Hello Jasprit, a Firefox profile is a ...READ MORE

Jul 2, 2019 in Selenium by Jackie
941 views
0 votes
1 answer

How to drag a web element using Selenium Webdriver?

Hey @Kritika, you can use Actions class ...READ MORE

Jul 2, 2019 in Selenium by Ashwin
2,993 views
0 votes
1 answer

How to retrieve web element which has dynamically changing Id like login label's id in Facebook changes dynamically?

Hi @Anshul, if you have dynamically changing ...READ MORE

Jul 2, 2019 in Selenium by Rajan
3,833 views
0 votes
1 answer

Maven project is not generating TestNG results within the test-output folder in a Selenium project

You can find the answer here. In Run ...READ MORE

Aug 30, 2020 in Selenium by Karthikeya
• 140 points
4,826 views
0 votes
1 answer

How to save the content on the page (full page) using Selenium WebDriver?

Selenium isn't designed to do this, you ...READ MORE

Jun 28, 2019 in Selenium by Vaishnavi
• 1,180 points
4,387 views
0 votes
1 answer

How can you run Selenium test cases on Jenkins?

You can use recorded Selenium IDE script ...READ MORE

Jun 28, 2019 in Selenium by Vaishnavi
• 1,180 points
3,463 views
0 votes
0 answers

Which is good for automation testing? Tellurium or Selenium

 I am working on Selenium for some ...READ MORE

Jun 27, 2019 in Selenium by Surya
• 970 points
388 views
0 votes
0 answers

is there a way to Inject or execute a JavaScript onto a page before loading/ executing any other scripts on the page?

I'm using Selenium WebDriver with Python in ...READ MORE

Jun 27, 2019 in Selenium by Surya
• 970 points
2,051 views
0 votes
0 answers

In which situations Selenium webdriver couldn't find web element?

In which situations Selenium webdriver couldn't find ...READ MORE

Jun 26, 2019 in Selenium by Shalini
529 views
0 votes
1 answer

What are the main types of regex quantifiers used in Selenium Webdriver?

Hi Andrew, some of the regex quantifiers ...READ MORE

Jun 26, 2019 in Selenium by Abha
• 28,140 points
5,117 views
0 votes
1 answer

What are the different assertions or check points used in selenium test scripts?

Hey Shakti, the most common types of ...READ MORE

Jun 26, 2019 in Selenium by Abha
• 28,140 points
1,765 views
0 votes
1 answer

What are different types of Desired Capabilities methods in Selenium?

Hello Ritvik, some of the desired capabilities ...READ MORE

Jun 26, 2019 in Selenium by Yukta
551 views
0 votes
1 answer

What are desired capabilities in Selenium?

Hey Varun, Desired Capabilities are used to configure ...READ MORE

Jun 25, 2019 in Selenium by Deepak
1,293 views
0 votes
1 answer

What is actions class in Selenium Webdriver?

Hi @Kavita, Actions class is used to ...READ MORE

Jun 25, 2019 in Selenium by Rumani
643 views
0 votes
1 answer

What is the difference between @BeforeClass and @BeforeTest?

Hi Mithun, @BeforeTest method runs before any ...READ MORE

Jun 25, 2019 in Selenium by Pragya
5,105 views
0 votes
1 answer

How to check all checkboxes on a webpage using Selenium?

Hey Jenny, to check all the checkboxes ...READ MORE

Jun 26, 2019 in Selenium by Suraj
4,847 views
0 votes
1 answer

What is the super interface of webdriver in Selenium Webdriver?

Hi Dushyant, SearchContext is the super interface of ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
16,800 views
0 votes
1 answer

How do you handle https website in selenium?

Hi Namit, you can handle https websites ...READ MORE

Jun 25, 2019 in Selenium by Anvi
• 14,150 points
1,005 views
0 votes
1 answer

What are the ways of scrolling webpage to the bottom of the page in Selenium Webdriver?

Hi @Puneet, there are a few ways ...READ MORE

Jun 25, 2019 in Selenium by Patrik
1,917 views
0 votes
1 answer

How can I handle multiple keyboard keys using Selenium Webdriver?

Hey Jasmine, there are a few ways ...READ MORE

Jun 25, 2019 in Selenium by Raj
33,993 views
0 votes
1 answer

how to solve " java.lang.IllegalStateException"?

Include the below line in your code ...READ MORE

Jun 24, 2019 in Selenium by John
4,829 views
0 votes
1 answer

How to switch back from a frame to default in Selenium Webdriver?

Hey Rupesh, to switch back from a ...READ MORE

Jun 25, 2019 in Selenium by Anvi
• 14,150 points
12,118 views