Most voted questions in Selenium

0 votes
1 answer

How @FindBy annotation of Page Factory can be used in Selenium?

Hey Mridul, Page Factory uses annotation @FindBy to ...READ MORE

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

Why we need to use RemoteWebdriver Not the webdriver in Selenium Grid?

Hi Ramya, we use RemoteWebdriver in Selenium ...READ MORE

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

Read PDF content on a browser using Selenium webdriver?

Hey Parvati, you can use Apache PDFBox JAR ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
15,722 views
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
920 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
951 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
8,174 views
0 votes
1 answer

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

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

Jul 5, 2019 in Selenium by Anvi
• 14,150 points
21,088 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,884 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
12,274 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
5,082 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
4,204 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
11,722 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
14,173 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
12,103 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
5,145 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
1,468 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,657 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,674 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,866 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,719 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
1,317 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
18,255 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
6,932 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
4,451 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
2,138 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
4,723 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
1,232 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
10,140 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
11,568 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
4,392 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
1,148 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
2,000 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
3,745 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
4,398 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
6,210 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
5,225 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
4,108 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
848 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,711 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
850 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
6,155 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
2,672 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
1,000 views
0 votes
1 answer

What are desired capabilities in Selenium?

Hey Varun, Desired Capabilities in Selenium are used to ...READ MORE

Jun 25, 2019 in Selenium by Deepak
1,856 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
1,328 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
6,147 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
5,709 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
19,201 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,566 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
2,559 views