Most answered questions in Selenium

0 votes
0 answers
0 votes
0 answers

How to handle "Plugin blocked" pop up using selenium python ?

I am trying to automate web application ...READ MORE

Jan 4, 2021 in Selenium by kiran
• 120 points
1,114 views
0 votes
0 answers

For conditions 2 and 3 getting error Class cast exception. Any solution?

public class ScrollingPage { public static void main(String[] ...READ MORE

Dec 25, 2020 in Selenium by faha
• 380 points
1,084 views
0 votes
0 answers

I want to navigate to f drive location through selenium webdriver

I want to navigate to f drive ...READ MORE

Dec 22, 2020 in Selenium by anonymous
• 120 points
407 views
0 votes
0 answers

i want to create a generic method it should call when tescase is failed

Hi , i want to create a generic ...READ MORE

Dec 17, 2020 in Selenium by Sri
• 3,190 points
264 views
0 votes
0 answers

How do I keep a session alive for long Selenium scripts in automation?

I am automating a task with Selenium ...READ MORE

Dec 16, 2020 in Selenium by AYUSHI
• 120 points
2,327 views
0 votes
0 answers

Error after upgrading to latest version of Selenium: System.InvalidOperationException: 'invalid argument: entry 0 of 'firstMatch' is invalid

I am using the latest version of ...READ MORE

Dec 3, 2020 in Selenium by Clemens
• 120 points

edited Dec 3, 2020 by Niroj 2,367 views
0 votes
0 answers

How to write down the result of step below?

Based on basic path testing, design the ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,910 points
277 views
0 votes
0 answers

Gecko driver, Selecting value from a dropdown list

Hello I am using Geckodriver (v0.28.0) and firefox ...READ MORE

Dec 1, 2020 in Selenium by anonymous
• 120 points

reopened Dec 1, 2020 by Gitika 400 views
0 votes
0 answers

The xpath of the element keeps changing, how do i find dynamic xpath for this

Can you please help on this, I ...READ MORE

Nov 21, 2020 in Selenium by Rakshith
• 120 points

recategorized Nov 23, 2020 by Niroj 1,443 views
0 votes
0 answers

Element is not clickable

READ MORE

Nov 19, 2020 in Selenium by kha
• 120 points
682 views
0 votes
0 answers

ElementClickInterceptedException occured

I have taken correct Xpath and i ...READ MORE

Nov 11, 2020 in Selenium by Boopathy
• 370 points
747 views
0 votes
0 answers

when going to 'amiunique.org/fp', my user agent is 'unique' but identical to my normal browser user agent.

when selenium chromedriver accesses 'amiunique.org/fp' , this is ...READ MORE

Nov 8, 2020 in Selenium by Samuel
• 120 points
653 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
• 380 points
609 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
• 380 points
848 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 28, 2020 in Selenium by faha
• 380 points
891 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
589 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
817 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
3,478 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 991 views
+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
1,147 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
12,272 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
399 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
319 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,004 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
607 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
724 views
0 votes
0 answers

Getting Error

String tittle=driver.getTitle(); String currenturl=driver.getCurrentUrl(); System.out.println(tittle); System.out.println(currenturl); WebElement withgoogle = driver.findElement(By.xpath("//div[contains(text(),'Continue with ...READ MORE

Jul 30, 2020 in Selenium by Sahil
• 120 points
499 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
12,512 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,287 views
+1 vote
0 answers

Not able to find the element in a new form in the same webpage ,which popup after clicking a link

I am trying to locate an element ...READ MORE

Jun 27, 2020 in Selenium by Reshmi
• 130 points
1,597 views
0 votes
0 answers
0 votes
0 answers

I cannot click on the last element and i have been trying for hours PLEASE HELP!!!

from selenium import webdriver from selenium.webdriver.chrome.options import Options from ...READ MORE

Jun 18, 2020 in Selenium by Justin
• 140 points

recategorized Jun 18, 2020 by Gitika 687 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,434 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,229 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
8,368 views
0 votes
0 answers

Can you please help me set up a adobe flash framework for selenium/visual studio?

Jun 12, 2020 in Selenium by anonymous
• 120 points
455 views
0 votes
0 answers

Selector only working after inspecting/selecting element (selenium)

I work on selenium with java and ...READ MORE

Jun 11, 2020 in Selenium by Arwa
• 120 points
1,687 views
0 votes
0 answers

I want to extract status code of page objects like images or any content.

My webpage loaded successfully, but there are ...READ MORE

Jun 8, 2020 in Selenium by Upma
• 120 points
456 views
0 votes
0 answers

TypeError: 'str' object is not callable

Hi , I am working selenium 4.0 , ...READ MORE

May 27, 2020 in Selenium by priya
• 120 points
2,404 views
0 votes
0 answers

How to write date text in excel sheet?

May 18, 2020 in Selenium by sukanya
• 120 points
657 views
0 votes
0 answers

Close do window

I have the following code driver = webdriver.Chrome(executable_path=r'/home/ruben/Documentos/Robô_Neobux/chromedriver') driver.get(Url) driver.maximize_window() time.sleep(2) Login=driver.find_element_by_id("Kf1").send_keys(Nome_De_Utilizaor) Login=driver.find_element_by_id('Kf2').send_keys(Passoword) time.sleep(15) Login=driver.find_element_by_id('botao_login') Login.click() time.sleep(10) forex ...READ MORE

May 12, 2020 in Selenium by Ruben
• 120 points
572 views