Trending questions in Selenium

0 votes
1 answer

How to get the number of frames on a webpage using webdriver?

Hi Esha, you can get the number ...READ MORE

May 28, 2019 in Selenium by Rajesh
4,615 views
0 votes
1 answer

How can I integrate Selenium with Maven project?

Hey Vicky, follow these steps to integrate ...READ MORE

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

I want to implement Fluent Wait in my test script, but I am new to Selenium and don't know much about Waits. Can anyone please help?

Hey Indu, Fluent wait is a class which ...READ MORE

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

How to get next sibling element using XPath and Selenium for Java?

Below code will help you: Try following-sibling axis : WebElement ...READ MORE

May 15, 2018 in Selenium by Samarpit
• 5,910 points
20,876 views
0 votes
1 answer

What is Xpath and what are the types of it in Selenium Webdriver?

Hi Piyush, XPath is defined as XML path. It is ...READ MORE

May 9, 2019 in Selenium by Pratibha
• 3,690 points
5,398 views
0 votes
1 answer

Is Selenium Server required by Selenium WebDriver ?

Hey Numan, Selenium Server is not required by ...READ MORE

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

What are the phases of Selenium Life Cycle?

Selenium life cycle has following 5 phases: Test ...READ MORE

May 10, 2019 in Selenium by Prashant
5,329 views
+1 vote
2 answers

Drop-down menu option value not working using Selenium (Python)

from selenium.webdriver.support.select import Select inputElementG ...READ MORE

Nov 28, 2018 in Selenium by Rijhu mal
15,306 views
0 votes
1 answer

How can I perform multi-browser testing using Selenium TestNG?

Hi Nutan, you can use TestNG to ...READ MORE

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

What are the phases of Automation Testing Lifecycle?

Hi @Jason, stages of Automation testing life-cycle ...READ MORE

May 13, 2019 in Selenium by Abha
5,134 views
0 votes
1 answer

Can anyone tell what are Parametermized Fixtures and what are its usage?

Hey Varhsa, Parameterized Fixtures are used to execute ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
743 views
0 votes
1 answer

How to download a file in chrome or mozilla browser using Selenium WebDriver?

Hey Uday, you can write following lines ...READ MORE

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

Can anyone suggest how can I restore cookies in new browser window using Webdriver?

Hey Akshay, following code snippet would help ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
1,076 views
0 votes
1 answer

In what ways we can handle dropdown menu in a page using Selenium with Python?

Hello Tushar, if by handling Dropdown you ...READ MORE

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

How to create an Object Repository to test facebook login in Selenium Webdriver?

Hi Kanak, to test facebook login using ...READ MORE

Jul 17, 2019 in Selenium by Anvi
• 14,150 points
2,264 views
0 votes
2 answers

Why do you use cucumber with selenium?

@Neha, we can use Cucumber framework to ...READ MORE

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

How to create Custom wait library for handling synchronization in Selenium Webdriver?

Hi Sushmita, to solve Synchronization issue in ...READ MORE

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

Getting error: unhandled inspector error: {"code":-32000,"message":"Cannot navigate to invalid URL"}

Hey, @sradha, The error you are getting is ...READ MORE

Dec 31, 2018 in Selenium by Shuvodip
10,780 views
0 votes
1 answer

Is it possible to take screenshot of only viewable area of a webpage using Python Selenium?

Hi Gulzar, to understand how capturing of ...READ MORE

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

How Parametermizing tests can be done in TestNG using Data Provider?

Hi Devashish, you can parameterize tests with ...READ MORE

Jul 8, 2019 in Selenium by Abha
• 28,140 points
2,570 views
0 votes
2 answers
0 votes
2 answers

What is the role of TestNG & JUnit frameworks in Selenium?

TestNG and JUnit are test frameworks . it ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
2,992 views
0 votes
1 answer

Can anyone please demonstrate writing a basic test in Selenium Webdriver using Ruby?

Hi Renuka, you can take help from ...READ MORE

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

How to add implicit wait to a webdriver using Selenium webdriver with python?

Hello Hussain, you can use implicitly_wait() method ...READ MORE

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

How a prompt alert can be handled in Python Selenium Webdriver?

Hey Duran, you can handle a prompt ...READ MORE

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

How to configure Selenium Grid with complete Hub and Node setup?

Yes it is possible to configure Selenium ...READ MORE

Jul 26, 2019 in Selenium by Karan
• 160 points
1,891 views
0 votes
1 answer

Locate particular link text among multiple match results while locating web elements in Selenium Webdriver?

Hey Yash, if you want to locate ...READ MORE

Jun 20, 2019 in Selenium by Pratibha
3,228 views
0 votes
0 answers
0 votes
1 answer

What are the different ways of invoking TestNG?

@Jeetu, TestNG can be invoked in following ...READ MORE

Jun 19, 2019 in Selenium by Abha
• 28,140 points
3,234 views
0 votes
1 answer

Which all values can be accepted as attribute for parallel execution of test scripts?

Hi Suman, If I want to run ...READ MORE

Jun 20, 2019 in Selenium by Abhilasha
3,190 views
0 votes
1 answer

How can I store data into a cookie using Selenium Webdriver?

Hey Abhilasha, we can load a website ...READ MORE

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

Can anyone tell what are different ExpectedCondition methods used with Webdriver wait?

Hey Diana, some of the ExpectedCondition methods ...READ MORE

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

WHAT IS THE SYNTAX OF DROPDOWN?

Hi, you can checkout following thread to ...READ MORE

Aug 19, 2019 in Selenium by Abha
• 28,140 points
646 views
0 votes
1 answer

How to handle proxy authentication using Selenium Webdriver?

Hi Rajat, you can set HTTP proxy ...READ MORE

May 28, 2019 in Selenium by Abha
• 28,140 points
4,106 views
0 votes
2 answers

what is the need of xpath when you have attributes like id ,class,name in selenium?

some of the controls not have id ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
1,828 views
0 votes
1 answer

How to launch PhantomJS driver using Desired Capability?

Hey usha, to launch PhantomJS driver using ...READ MORE

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

Write a test case to check if an image exists on a webpage or not without using JS Executor

@Nipun if you want to check whether ...READ MORE

May 21, 2019 in Selenium by Nikita
4,356 views
0 votes
1 answer

How to automate Flash using Selenium Webdriver?

Hey Gaurav, to automate Flash using Selenium ...READ MORE

May 23, 2019 in Selenium by Gaurav
4,275 views
0 votes
1 answer

How do I close a focused window using Selenium WebDriver in Java?

You can use this    String base = ...READ MORE

May 10, 2019 in Selenium by Vaishnavi
• 1,180 points
4,841 views
0 votes
1 answer

How can I capture Tooltip in Selenium Webdriver?

Hey Diljeet, following test script allows you ...READ MORE

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

What is Page Object Model in Selenium WebDriver?

POM is one of design pattern. maintenance  should ...READ MORE

Sep 4, 2020 in Selenium by Sri
• 3,190 points
1,463 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,418 views
0 votes
1 answer

Is there a way to handle checkboxes and radio buttons using Python Selenium?

Hi Jessica, you can try these lines ...READ MORE

Jul 23, 2019 in Selenium by Anvi
• 14,150 points
1,552 views
+1 vote
1 answer

Exception in thread "main" java.lang.IllegalStateExceptionrome.driver system property;

Hi Ashwin, your path for the webdriver ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
529 views
0 votes
1 answer

How to start Firefox browser on Mac using Selenium Webdriver?

Hey Tom, you can use following commands ...READ MORE

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

How to set test case priority in TestNG?

@Rumani, you can set test case priority ...READ MORE

Jun 4, 2019 in Selenium by Harry
3,534 views
0 votes
1 answer

How can I use HTML Unit Driver as a headless browser with Selenium?

Hello @Nishant, follow these steps to use ...READ MORE

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

Need help with automation test script using Cucumber and selenium!

Hi Unnati, you can use TestNG to ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
990 views