Most answered questions in Selenium

0 votes
1 answer

Why there is a need of GeckoDriver to launch Firefox in Selenium?

Hello Sunaina, Gecko driver is required to ...READ MORE

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

How to define capabilities using ChromeOptions for RemoteWebDriver in Selenium?

Hi Celina, to define capabilities for RemoteWebdriver, ...READ MORE

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

What is @CacheLookup annotation in PageFactory?

Hey Abhay, PageFactory annotation @CacheLookup is used to ...READ MORE

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

Unable to pass Capabilities to ChromeDriver in Selenium Webdriver. How to resolve the issue?

Hey Inaya, you are facing this problem ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
5,451 views
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,003 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
3,728 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
14,628 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
477 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
416 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,989 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,969 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,319 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,642 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,180 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,467 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,691 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,379 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,195 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,611 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
899 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,212 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,192 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,351 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,198 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
649 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,936 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,585 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,542 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,747 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
690 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,926 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,545 views
+1 vote
1 answer

How can we get the font size, font color, font type used for a particular text on a web page using Selenium web driver?

Hi Deepti, you can use getcssvalue() method to ...READ MORE

Jul 3, 2019 in Selenium by Abha
• 28,140 points
16,077 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,782 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
678 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
957 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,994 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,837 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,843 views
+1 vote
1 answer

How can I get All Text in robot framework ?

${elem} = Get WebElements ...READ MORE

Jan 29, 2020 in Selenium by Abhishek
• 160 points
12,024 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,397 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,467 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,125 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,774 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
554 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,295 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
653 views
+1 vote
1 answer

What are the different attributes for @Test annotation in testNG?

Hey @Iqbal, some of the most common ...READ MORE

Jun 25, 2019 in Selenium by Gulshan
11,436 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,120 views