Trending questions in Selenium

+1 vote
0 answers

i want to automate below secaniro using testng and pom but using below code i am only able to open facebook directlt but what i want to do is i wantto open chrome and then navigate to facebook

Open a Chrome browser. Navigate to “http://www.facebook.com," Verify that ...READ MORE

Sep 23, 2020 in Selenium by anonymous
• 410 points
998 views
+1 vote
0 answers

Getting a stale element Exception

              ...READ MORE

Sep 16, 2020 in Selenium by sandhya
• 180 points

edited Sep 16, 2020 by Gitika 1,241 views
+1 vote
1 answer

How can Selenium select each div separately that have the same class

Hi Surya, you have already got the ...READ MORE

Mar 14, 2019 in Selenium by Vaishnavi
• 1,180 points
25,037 views
0 votes
1 answer

hello i am valdating facebook page i have wrriten below code ingu button but it is not clicking on buttons

Hey @Jordan, What's the error you are ...READ MORE

Sep 28, 2020 in Selenium by Karan
• 19,610 points
589 views
+1 vote
0 answers

Hello i have written below code to verify title using POM method but i am not able to print please help me

public static void verifytitle() { String Createanewaccounttttt=driver.getTitle(); System.out.println("Title is"+Createanewaccounttttt); String excepted_title="Create ...READ MORE

Sep 24, 2020 in Selenium by Jordan
• 410 points
760 views
+1 vote
1 answer

where we are using delegates in selenium automation testing

Hello @Sri , Delegates are similar to pointers available ...READ MORE

Aug 26, 2020 in Selenium by Niroj
• 82,880 points

edited Jul 19, 2023 by Khan Sarfaraz 1,965 views
+1 vote
1 answer

How to handle drop down having SPAN Tags. Please help me.

Hi can u try this once. Select select ...READ MORE

Jun 3, 2020 in Selenium by Sri
• 3,190 points
5,657 views
+1 vote
0 answers

I am trying to perform data driven testing in TestNG. But I am getting error?

I am trying to perform data driven ...READ MORE

Sep 6, 2020 in Selenium by akshay
• 130 points
1,298 views
0 votes
1 answer

Is there any way to load an extension in chrome browser using Selenium Webdriver?

Hey Harsha, you can load an extension ...READ MORE

Jun 4, 2019 in Selenium by Rishabh
21,151 views
0 votes
1 answer

How to solve this warning? The constructor ChromeDriver(capabilities) is deprecated.

Since ChromeDriver(service, capabilities) is deprecated now as well, you ...READ MORE

Jun 8, 2020 in Selenium by Kim
5,144 views
0 votes
1 answer

While running it is not recognizing the xpath

There are two parts to this. The ...READ MORE

Aug 3, 2020 in Selenium by Kim
2,341 views
0 votes
2 answers

headless browser vs real browser

I would say prefer Headless browser over ...READ MORE

Aug 31, 2020 in Selenium by Sirajul
• 59,230 points
1,093 views
0 votes
1 answer

Which of the following options can be used to move to the main menu option and then sub option through action method in webdriver

Hello @ naresh, With the actions object you should ...READ MORE

Jul 24, 2020 in Selenium by Niroj
• 82,880 points
2,757 views
0 votes
2 answers

selenium xpath and id

id mean direct interacting with element like ...READ MORE

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

Automate Inputing SQL queries in textbox in a website using python selenium

Concatenate the queries as a string....and send ...READ MORE

Aug 31, 2020 in Selenium by Ananda Chakroborthy
998 views
0 votes
0 answers

How to get size of email in inbox of Gmail account

Please help. READ MORE

Sep 11, 2020 in Selenium by Akanksha
• 120 points
507 views
+1 vote
2 answers

How can I delete an element in Selenium using Python?

You can directly delete the node using ...READ MORE

Sep 14, 2019 in Selenium by tonystark
• 500 points
19,735 views
0 votes
0 answers

how to do search name and drag and drop in hybrid frame work java selenium?

i have to do following things first i ...READ MORE

Sep 10, 2020 in Selenium by anonymous
• 120 points
505 views
0 votes
1 answer

Run chrome browser in inconginto Mode in Selenium

One other way to launch Chrome in ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
33,792 views
0 votes
1 answer

i know loosely coupled and highly cohesive

Check this out https://dzone.com/articles/microservice-testing ...READ MORE

Sep 1, 2020 in Selenium by Kim
846 views
0 votes
1 answer

Does cypress support api automation testing also?

When it comes to using Cypress, many ...READ MORE

Aug 31, 2020 in Selenium by Kim

edited Jul 19, 2023 by Khan Sarfaraz 826 views
0 votes
1 answer

How test runner prioritize test classes for execution.

Hello @Sri, TestNG is a Testing framework, that covers different ...READ MORE

Aug 24, 2020 in Selenium by Niroj
• 82,880 points
1,128 views
0 votes
1 answer

Eclipse won't run Chrome v84 with JUnit

Have you set the system property to ...READ MORE

Aug 26, 2020 in Selenium by Sirajul
• 59,230 points
993 views
+1 vote
0 answers

Using the Selenium WebDriver, Unable to launch chrome browser on Mac

Attached screenshot of code and execution consoleI ...READ MORE

Nov 21, 2019 in Selenium by Reshmi
• 130 points
13,026 views
+1 vote
1 answer

In selenium Can we interact with browsers directly without using browsers web drivers like codedui

As per my understanding of your query, ...READ MORE

Aug 20, 2020 in Selenium by Sirajul
• 59,230 points
1,134 views
0 votes
1 answer

Is navigate method available in selenium webdriver with python??

The line of code which you have ...READ MORE

Jul 28, 2020 in Selenium by Sirajul
• 59,230 points
2,176 views
+1 vote
0 answers

Want to rotate image infinite on active webpage using java and selenium

Hi I need to rotate image infinite ...READ MORE

Aug 28, 2020 in Selenium by mfarooq
• 130 points
762 views
0 votes
2 answers

What is the best way to handle a Javascript popup using Selenium Webdriver?

webDriver.switchTo().alert() it inbuild selenium only //Store the alert ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
10,866 views
0 votes
0 answers

In web automation(selenium+python) when running code without a headless working fine but with headless{chrome} it navigates to the unexpected page?

Using Python/selenium running without headless mode is ...READ MORE

Jun 15, 2020 in Selenium by Raghvir
• 170 points
3,908 views
0 votes
1 answer

How to do DataDriven testing in specflow api

The following link gives an explanation of ...READ MORE

Aug 17, 2020 in Selenium by Lindsy
1,046 views
+2 votes
1 answer

How to fetch the text of a web element where the text is split in 2 lines?

Hello, You want to use a non-breaking space ...READ MORE

May 28, 2020 in Selenium by Niroj
• 82,880 points
4,391 views
+1 vote
1 answer

how to automate google Signup form in selenium using python

Try the following code:  from selenium.webdriver import Chrome, ...READ MORE

Mar 23, 2020 in Selenium by Sirajul
• 59,230 points
7,256 views
0 votes
0 answers

XPATH FOR DYNAMIC DROP DOWN

Hi all, I am facing some challenges in ...READ MORE

Jul 12, 2020 in Selenium by MOHAMMED
• 120 points
2,503 views
+1 vote
0 answers

How to use MSTest Annotations in specflow c#

Hi , Am using Specflow +Mstest . How ...READ MORE

Aug 15, 2020 in Selenium by Sri
• 3,190 points
886 views
0 votes
1 answer

getting java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property

Hi Sivaranjani, to resolve your issue, Driver path ...READ MORE

Sep 3, 2019 in Selenium by Abha
• 28,140 points
15,792 views
0 votes
1 answer

How to use a specific chrome profile in selenium?

User profiling is the term used for ...READ MORE

Dec 24, 2018 in Selenium by Shuvodip
26,710 views
0 votes
1 answer

How to Handle alerts like Irctc alert in selenium?

Hello  karthik, Handling alerts manually is a tedious task. ...READ MORE

Jun 29, 2020 in Selenium by Niroj
• 82,880 points
2,868 views
0 votes
2 answers

How to scroll the Page up or down in Selenium WebDriver? (using java)

JavascriptExecutor jsx = (JavascriptExecutor)driver; jsx.executeScript("window.scrollBy(0,555)", ""); or Action classes ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
18,868 views
0 votes
0 answers

python selenium find element search class and text and Repetition

def ref(self): while True: ...READ MORE

Jun 14, 2020 in Selenium by anonymous
• 120 points
3,430 views
+1 vote
1 answer

Python + Selenium | How to locate elements in span class & not unique ID

I use the following code to check ...READ MORE

Jan 2, 2020 in Selenium by Karan
10,350 views
0 votes
1 answer

Some scenarios require reboot computer in the middle of their running

You might have to probably call a command-line ...READ MORE

Aug 6, 2020 in Selenium by Sirajul
• 59,230 points
848 views
0 votes
1 answer

How can I perform mouse hover action in Selenium-Python?

Hey Payal, use the code snippet shown ...READ MORE

Jul 24, 2019 in Selenium by Abha
• 28,140 points
17,226 views
+1 vote
1 answer
0 votes
1 answer

How can I run test cases in parallel using Keyword Driven Framework?

One solution to try for executing test ...READ MORE

Jun 29, 2020 in Selenium by Alexander
2,813 views
0 votes
1 answer

I am getting the error while running JUnit test case with java PL. Could you help me out.

I had the same issue. I resolved ...READ MORE

Jun 5, 2020 in Selenium by Samaira
3,393 views