Trending questions in Selenium

0 votes
1 answer

Suddenly my whole program will not run. It shows main error" Missing Type String"

It needs to upgrade the Compiler Compliance.  For ...READ MORE

Oct 29, 2020 in Selenium by Karan
• 19,610 points
460 views
0 votes
0 answers

Website coming with (ReturnURL=%2Fadmin%2F)

Hi all, When I Try to enter the ...READ MORE

Nov 7, 2020 in Selenium by faha
• 360 points
99 views
0 votes
1 answer

selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable

A possibility is that the element is ...READ MORE

Apr 26, 2020 in Selenium by Sirajul
• 59,050 points
8,451 views
0 votes
3 answers

Click Allow on Show Notifications popup using Selenium Webdriver

Try this: Robot robot = new Robot(); robot.delay(5000); robot.keyPress(KeyEvent.VK_TAB); robot.keyPress(KeyEvent.VK_ENTER); hope this ...READ MORE

Feb 29, 2020 in Selenium by anuj
20,074 views
0 votes
2 answers

How to avoid the pop-up window in chrome browser with Selenium?

Alert alertCancel = driver.switchTo().alert(); READ MORE

Sep 5, 2020 in Selenium by Sri
• 3,010 points
10,576 views
0 votes
1 answer

NoClassDef Found Exception occured

Here are a few probable steps to ...READ MORE

Oct 30, 2020 in Selenium by Sandra
121 views
0 votes
0 answers

The test is running and getting failed (TestNG) - email is entering twice and getting a mssg wrong email

http://admin-demo.nopcommerce.com/ Hi all, Can anyone help me to ...READ MORE

Oct 27, 2020 in Selenium by faha
• 360 points
207 views
0 votes
0 answers

Unable to get the test result passed

When I try to run the test ...READ MORE

Oct 28, 2020 in Selenium by faha
• 360 points
107 views
0 votes
2 answers

How to get the text from a website using selenium?

driver.findElement(By.cssSelector("p")).getText() or  IWebElement element = Browser.GetElementByCssSelector("div.loginbox p"); string text = ...READ MORE

Sep 5, 2020 in Selenium by Sri
• 3,010 points
15,366 views
0 votes
1 answer

What is the primary difference between the XPath and CSS selector?

Hello Ushma, the primary difference between XPath ...READ MORE

Jun 23, 2019 in Selenium by Anvi
• 14,150 points
21,156 views
+1 vote
2 answers

How do I make selenium check gmails quota storage and then execute another task in a new tab depending on the value?

Hi, Xpath.gettext try this if this doesn't work ...READ MORE

Oct 20, 2020 in Selenium by Roshni
• 10,440 points
182 views
0 votes
2 answers

Couldn't sign to Chrome with selenium

Yes. I have spent my whole day ...READ MORE

Aug 25, 2020 in Selenium by anonymous
5,272 views
+1 vote
1 answer

download all pdf file with selenium python

Try this code, it worked for me. options ...READ MORE

Sep 14, 2020 in Selenium by Karan
• 19,610 points
1,677 views
0 votes
0 answers

Getting Java Null Pointer Exception on running the test case in Seleniumn.Can someone pls let me know where i need to fix in order to progress

Below is the Error: java.lang.RuntimeException: java.lang.NullPointerException at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(MethodInvocationHelper.java:49) at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:131) at ...READ MORE

Sep 11, 2020 in Selenium by sandhya
• 180 points
1,863 views
0 votes
1 answer
+1 vote
1 answer

How to automate instagram login page using java in selenium?

Try the following: package com.company; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import ...READ MORE

Sep 15, 2020 in Selenium by Karan
• 19,610 points
1,347 views
0 votes
2 answers

How to submit a form in Selenium webdriver if submit button can't be identified?

In addition to flat out submitting the ...READ MORE

Jul 31, 2020 in Selenium by anonymous
11,725 views
+1 vote
1 answer

getting error in testng java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap

A NoClassDefFoundError is thrown when the JRE can't find ...READ MORE

Jun 3, 2020 in Selenium by Ramesh
• 140 points
8,043 views
+1 vote
1 answer

In Excel handling how is it that we call getRow() without creating object of XSSFSheet class.

There is a concept of method chaining ...READ MORE

Oct 7, 2020 in Selenium by Karan
• 19,610 points
132 views
+1 vote
1 answer

selenium-python Downloading file Error -- "Failed -Download Error"

The path you declared for the default ...READ MORE

Sep 7, 2020 in Selenium by Sirajul
• 59,050 points
1,309 views
0 votes
1 answer

I am not able to generate extent report with screenshot in selenium cucumber java .. Please help me out

Hello @kanikahans, You need to define Extent Report ...READ MORE

Aug 23, 2020 in Selenium by Niroj
• 82,720 points
1,946 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,010 points
10,758 views
0 votes
1 answer

System.setProperty("webdriver.chrome.driver","") meaning?

The meaning of the statement are almost ...READ MORE

Jan 8, 2019 in Selenium by Nabarupa
27,468 views
+1 vote
0 answers

How to automate script for otp which is received in email address

I am learing automation soi have started ...READ MORE

Sep 19, 2020 in Selenium by Jordan
• 410 points
581 views
+2 votes
2 answers

I'm Getting error as soon as I Initialize driver = new ChromeDriver();

Hi Prajwal, this type of error occurs ...READ MORE

Oct 10, 2019 in Selenium by Abha
• 28,040 points
12,457 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
86 views
0 votes
2 answers

How to get all options of a dropdown using python selenium webdriver?

WebElement element = driver.findElement(By.id("")); Select select = new ...READ MORE

Sep 5, 2020 in Selenium by Sri
• 3,010 points
9,634 views
+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
189 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
127 views
0 votes
4 answers

How to close login pop up message in Selenium Webdriver?

did you find solution for this? READ MORE

Nov 4, 2020 in Selenium by anonymous

reshown Nov 4, 2020 by Sirajul 1,090 views
+1 vote
2 answers

Is it possible to manually set the attribute value of a Web Element using Selenium?

WebDriver driver; JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("document.getElementById('id123').setAttribute('attr', ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,010 points
19,210 views
+1 vote
2 answers

How to click on sing up button using java in selenium i am able to open page but not able to click

For a software testing services company while ...READ MORE

Sep 17, 2020 in Selenium by Vishal
267 views
+1 vote
2 answers

how to automate date picker

Try the following: 1) Assumption is that you ...READ MORE

Sep 18, 2020 in Selenium by Karan
• 19,610 points
174 views
+1 vote
1 answer

Selenium wont support angular , react ,Vue JS applications...?

You can use selenium to test any ...READ MORE

Aug 28, 2020 in Selenium by Venkat Ram
1,093 views
0 votes
0 answers

org.openqa.selenium.ElementClickInterceptedException Selenium WebDriver Java

Hello, My execution does clicks on webelement as ...READ MORE

Jul 21, 2020 in Selenium by sainiranjan
• 120 points
2,790 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 233 views
0 votes
1 answer
+1 vote
0 answers

Not able to select multiple value from drop down the code has Div tag and need to read the values from Excel using Data Provider

Element Utils which has the method: Can some ...READ MORE

Sep 15, 2020 in Selenium by sandhya
• 130 points
211 views
0 votes
1 answer

I am trying to launch browser using testng but not able to execute. Please help me solving this error

Please check your chrome version, launch with ...READ MORE

Aug 24, 2020 in Selenium by Pramod
• 160 points
945 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
90 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 9, 2020 in Selenium by anonymous
• 120 points
79 views
+1 vote
0 answers

Loop through page links in div and click each link containing a specific value in Selenium (java)

I have an html page that has ...READ MORE

Jun 13, 2020 in Selenium by laiman
• 330 points
3,870 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 5, 2020 in Selenium by akshay
• 130 points
198 views
0 votes
1 answer

Which exception is raised when an element is not found in an HTML DOM using XPath

Hey, A stale element reference exception is thrown in one of two cases If ...READ MORE

Jul 30, 2020 in Selenium by Sirajul
• 59,050 points
1,718 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,050 points
188 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
131 views