Trending questions in Selenium

0 votes
1 answer

Why do we create a reference variable of type Webdriver, not the actual browser type?

Hey Karan, we create a reference variable ...READ MORE

Jun 22, 2019 in Selenium by Abha
• 28,140 points
2,709 views
0 votes
0 answers
0 votes
0 answers

Picked up JAVA_TOOL_OPTIONS: -Duser.home=C:\Users\45059465,

When i am trying to execute the ...READ MORE

Jul 15, 2019 in Selenium by anonymous
1,676 views
0 votes
1 answer

What are the major components of Selenium IDE?

Hi Janvi, Selenium IDE is divided into different ...READ MORE

May 13, 2019 in Selenium by Anvi
• 14,150 points
4,331 views
0 votes
1 answer

What happens if I don't create a Package and add a Class directly under the Project in Eclipse?

Hello Avantika, its not considered as a ...READ MORE

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

Which methods which can be used to handle pop-up and alerts in Python Selenium Webdriver?

Hey Kishor, Python Selenium webdriver provides following ...READ MORE

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

How to check the state of a radio button or checkbox in Selenium?

Hey Priya, to check the state of ...READ MORE

May 7, 2019 in Selenium by Pratibha
• 3,690 points
4,571 views
0 votes
1 answer

How to run Selenium test cases in Headless Chrome browser?

@Afreen to run selenium test cases in ...READ MORE

May 17, 2019 in Selenium by Kushal
4,142 views
–1 vote
0 answers

How Can I get All SEO Data (Title, Meta title, Meta Description and Address.) Using JAVA Selenium Webdriver

I want to get all SEO data ...READ MORE

Jul 23, 2019 in Selenium by Aazad
• 170 points
1,353 views
0 votes
1 answer

Which packages are required to be imported to launch Firefox driver?

Hi Ridhima, to launch Firefox driver in ...READ MORE

Jul 16, 2019 in Selenium by Anvi
• 14,150 points
1,578 views
0 votes
0 answers
0 votes
1 answer

Is there any way to get Firefox working with Selenium WebDriver on Mac OSX

You can try calling the webdriver with ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
2,818 views
0 votes
1 answer

Does Selenium Webdriver directly support mobile(Android/IOS) automation?

Hi Hemlata, No, Selenium Webdriver doesn't support ...READ MORE

Jul 7, 2019 in Selenium by Tahir
1,921 views
0 votes
1 answer

Which methods can be used to handle cookies in Python Webdriver?

Hi Audrey, you can use following methods ...READ MORE

Aug 1, 2019 in Selenium by Jasprit
829 views
0 votes
0 answers

I am facing the same Exception in thread "main" java.lang.IllegalStateException error. can anyone help me [closed]

Jul 20, 2019 in Selenium by anonymous

closed Jul 22, 2019 by Abha 1,349 views
0 votes
1 answer

How to run a group of test cases using TestNG in Selenium Webdriver?

Hey Kajal, TestNG allows you to perform ordered ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
2,927 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,321 views
0 votes
1 answer

What is JavaScriptExecutor and how it helps in Selenium automation?

@Rohan, JavaScript executor is an interface of ...READ MORE

Jun 4, 2019 in Selenium by Pratibha
3,213 views
0 votes
1 answer

How to capture screenshot of a webpage using Selenium Webdriver?

Hi Bindiya, you can use TakesScreenshot interface to capture the ...READ MORE

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

What is Apache ANT and what are its features?

Hello Deshdeepak, Ant is a Java-based Open-Source build tool ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
1,275 views
0 votes
0 answers

How to run Selenium standalone server 2 on Windows XP?

Could you please help me with running ...READ MORE

Jul 22, 2019 in Selenium by Vaishnavi
• 1,180 points
1,040 views
0 votes
2 answers

What is PhantomJS and what is the usage of it?

@Ojaswini, Phantomjs is used for automating webpage ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
2,151 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,124 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,162 views
0 votes
1 answer

How to wait(5min to 15min) for specific email and click to the email which has subject "TEST"?

Hey bkarun, to wait for a particular ...READ MORE

Jul 12, 2019 in Selenium by Abha
• 28,140 points
1,413 views
0 votes
2 answers

How to use webdriver in selenium?

Hi, Selenium provides drivers specific to each browser ...READ MORE

Feb 21, 2020 in Selenium by surbhi
• 260 points
899 views
0 votes
1 answer

How can I skip a @Test method from execution in TestNG?

Hey Darsh, you can skip a @Test ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
2,348 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,768 views
0 votes
1 answer

Hi There, Selenium Qn: Why do Java jars are shown in Eclipse when i download Eclipse, What is the use of these java jars in Eclipse?

Hey Abha,  JAR files are fundamentally archive files, ...READ MORE

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

How can I parallely execute automation tests using Selenium Grid?

Hello Urmila, to parallelly execute automation tests ...READ MORE

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

How can I refresh a browser window in different ways using Selenium Webdriver?

Hello Piyush, you can refresh a browser ...READ MORE

May 29, 2019 in Selenium by Anvi
• 14,150 points
3,238 views
0 votes
1 answer

What all commands can be used in Selenium Webdriver to interact with Web elements?

Hi Shaibya, some of the commands used ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
1,196 views
0 votes
2 answers

Is it possible to find broken links on a webpage using Selenium Webdriver?

Yes it is possible to find broken ...READ MORE

Jul 25, 2019 in Selenium by anonymous
2,178 views
0 votes
1 answer

How javascript code can be executed in Selenium Webdriver?

Hey Veena, execute_script is used to execute ...READ MORE

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

How isMultiple() method can be used by Selenium Webdriver?

@Payal, isMultiple() method is used to check ...READ MORE

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

Can anyone suggest how can I use Explicit wait in my automation test cases using Webdriver?

Hi Inder, you can use Explicit wait ...READ MORE

Jul 23, 2019 in Selenium by Abha
812 views
0 votes
1 answer

Setting the webdriver.chrome.driver system property

When u use Selenium 3.x you should ...READ MORE

Jun 26, 2018 in Selenium by Samarpit
• 5,910 points
17,717 views
0 votes
1 answer

How can I handle untrusted SSL certificate in Firefox using Selenium Webdriver?

Hello Vartika, you can handle Untrusted SSL ...READ MORE

Jun 4, 2019 in Selenium by Anvi
• 14,150 points
2,922 views
0 votes
1 answer

How page synchronization can be achieved in Selenium WebDriver?

Hey Dhvani, Page Synchronization can be achieved ...READ MORE

May 28, 2019 in Selenium by Ujjwal
3,215 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,603 views
0 votes
0 answers

How to click an image in gmail using selenium

The image in the body of the ...READ MORE

Jul 13, 2019 in Selenium by anonymous
1,179 views
0 votes
1 answer

What is Log4j and what are its advantages??

Hi Benny, Log4j is a brilliant logging API ...READ MORE

May 22, 2019 in Selenium by Anvi
• 14,150 points
3,412 views
0 votes
1 answer

How can we create data driven framework using TestNG?

Hey Yuvraj, we can create a Data ...READ MORE

Jun 12, 2019 in Selenium by Anvi
• 14,150 points
2,444 views
0 votes
1 answer

How can I run test cases in parallel using TestNG in selenium webdriver?

Hi Sobia, for running test cases in ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
2,378 views
0 votes
1 answer

How to exclude a particular test group from a test case execution?

Hey Catherine, you can use exclude tag in the ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
2,069 views
0 votes
1 answer

How can I capture screenshot of a webpage partially in Selenium?

Hey Tejasvi, you can capture screenshot of ...READ MORE

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

Automation script for handling Calendar on a webpage using Selenium Webdriver?

Hi Shruti, here's the automation script for ...READ MORE

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

How to install Apache Ant to configure it with Selenium Webdriver?

Hey Surbhi, you need to follow these ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
838 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,455 views
0 votes
1 answer

Is there any method to reset the HTML text box in Selenium Webdriver?

Hey Anushka, you can use clear() function to ...READ MORE

Jun 25, 2019 in Selenium by Abha
• 28,140 points
1,794 views