Skip to main content

All Questions

0 votes
2 answers
1k views

how can i send ENTER/RETURN key with javascript executor code in selenium python?

Hi all i am new to python selenium, i am in the process of automating a website but unfortunately the search text box of the website does not have any buttons to click once you enter the text things i ...
Prince_P's user avatar
1 vote
1 answer
52 views

I have a list of buttons and I can't access them

I have a list of buttons and I am trying to get all of them into an array to click one by one. <ul> <li class="listFUTItem has-auction-data selected"><button class="ut-image-button-...
Paul Vio's user avatar
-1 votes
1 answer
73 views

How to get text from element using Selenium through Python

I am writing an automated script for a website and would like to validate that a form was created. I have already created the form which I named "Blah!". The webpage would now have a form with a ...
Don Powell's user avatar
0 votes
1 answer
1k views

How to retrieve the page load timeout through Selenium and Python

Is there any method in Python + Selenium for retrieving the webdriver's current page load timeout? I know to use set_page_load_timeout() and examining the Chromedriver logs shows that this modified ...
Neil C. Obremski's user avatar
1 vote
2 answers
78 views

How to find the element part of the anchor tag

I am totally new to the selenium. Please accept apologies for asking daft or silly question. I have below on the website. What I am interested is that how can I get the data-selectdate value using ...
akumar's user avatar
  • 49
2 votes
1 answer
448 views

How to identify the Username and Password field to login into USPS.com using Selenium and Python

I am trying to login in USPS.com, my username and password are correct and I am using following code. user1="myusername" password1="password" url="https://reg.usps.com/login?app=MyUSPS" browser.get(...
Ankit's user avatar
  • 71
0 votes
1 answer
284 views

Getting different results when adding if or else to selenium google webdriver using python

I see different results when retrieving the network data using window.performance.getEntries() This is the code: from selenium import webdriver from selenium.webdriver.chrome.options import Options ...
Sam's user avatar
  • 1,229
6 votes
4 answers
8k views

How to set luminati proxy on Selenium Webdriver for chrome in python?

I want to set luminati proxy in webdriver.Chrome for selenium python. I have tried using this following command: from selenium import webdriver from selenium.webdriver.common.proxy import Proxy, ...
Birat Bose's user avatar
  • 2,274
0 votes
1 answer
44 views

Use Join Method to Combine Text of FirefoxWebElements

I'm new to Python, so I was hoping somebody could help me out with the following issue. project_tags = browser.find_elements_by_xpath('//a[contains(@class, "campaignTags-tag")]') separator = ', ' ...
oldboy's user avatar
  • 5,984
1 vote
3 answers
855 views

How to locate a hidden element on a webpage

I am trying to pass some content in the textbox using the following: driver.find_element_by_xpath('path').send_keys(value) Apparently nothing is getting passes. Similar issue with clicking button: ...
Dimple Mathew's user avatar
113 votes
17 answers
55k views

unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade

I am getting the below error while sending keys. Result Message: System.InvalidOperationException : unknown error: call function result missing 'value' (Session info: chrome=65.0.3325.146) (...
Zaki Ahmed's user avatar
  • 1,141
1 vote
1 answer
136 views

When use Selenium exception turns out with no attribute 'urlopen'

Right now I have the test code from the Selenium library. I am trying to test if it's gonna work and then do my own edits on it. However, it goes wrong on the 'import' part. I have all libraries ...
Edison Hua's user avatar
1 vote
1 answer
487 views

Selenium Webdriver Python 2.x - select value from the list

I have problem with select value from list in Selenium Webdriver and Python 2.x. Look at HTML code of my test site and below is my Selenium Webdriver code with my problem. HTML from my test site (...
PythonLearn's user avatar
2 votes
1 answer
6k views

Cannot open two Google Chrome instances with different profiles using selenium web driver for Chrome in Python

I am using Selenium WebDriver for Chrome to open two instances of Google Chrome with two different Profiles (Profile 1 and Profile 2) simultaneously. The first instance with Profile 1 opens ...
Srinidhi Shankar's user avatar
0 votes
2 answers
282 views

How to select a dropdownlist value using webdriver and raw_input() in python

Here's working code: driver.find_element_by_xpath("//select[@name='log']/option[text()='eag']").click() It selects 'eag' value but I want user to choose the value using raw_input(). E.g. choice = ...
pingwin850's user avatar

15 30 50 per page