All Questions
13 questions
0
votes
4
answers
3k
views
How to handle pop up window dialog to download file automatically with firefox profile in python selenium on Linux (Ubuntu) system
I am trying to download the file automatically from system file download dialog by setting preference in firefox profile in my python selenium code , but my code is not working.
Browser : Firefox 72....
2
votes
1
answer
646
views
selenium web driver not working
When i run the code, browser is opening but not at all loading anything.
i want to login into website using selenium.
im using windows 7 64 bit os and python 2.7.
i have downloaded drivers from https:/...
0
votes
1
answer
150
views
Python 2.7 selenium webdriver failing to read table contents on java site
I have been trying to work on webscraping a java site (new for me) but it just fails each time I attempt to read data from its main table. I know the element I am searching for is on the site, so I ...
2
votes
2
answers
2k
views
Selenium Firefox webdriver for python KeyError 'value'
I started with the following basic python script for using selenium:
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import Select, ...
3
votes
2
answers
4k
views
Not able to get console logs on firefox webdriver
I am using Firefox version 53. Geckodriver version 0.16, selenium version 3.4. I want totake console logs of webdriver
from selenium import webdriver
from selenium.webdriver.common....
1
vote
2
answers
2k
views
webdriver Firefox opens but gives the Key error: 'sessionid'
I am using python version 2.7.9 :: Anaconda 2.2.0(64-bit)
My code is as follows:
from selenium import webdriver
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
binary = ...
2
votes
1
answer
4k
views
Force page to open in new window selenium-web-driver python
How do i force a link to open in new window in selenium-web-driver python and switch to it extract data and close it
currently i am using following code
for tag in self.driver.find_elements_by_xpath('...
1
vote
0
answers
3k
views
Accessing web browser's developer tools using Selenium (Python)
I'm trying to access the developer tools of the browser that I'm using (Firefox) using Selenium. I know that you can press F12 to access it, so I'm trying to "press" F12 using Selenium but I'm having ...
1
vote
1
answer
105
views
browser.click() & browser.send_keys() conflict - Selenium 3.0 Python 2.7
I am currently trying to implement a subtitle downloader with the help of the http://www.yifysubtitles.com website.
The first part of my code is to click on the accept cookies button and then send ...
1
vote
1
answer
2k
views
Python script fails using launchd and Selenium
I'm trying to run a simple script using launchd in OS X 10.10.5 but the job fails. I think it has something to do with permissions/privileges not set correctly?
This is the error code it throws up:
...
0
votes
1
answer
873
views
Selenium is not working with firefox and python webdriver on ububtu
I am trying to write test cases for my webapp using selenium, firefox and python webdrivers while my development environment is setup on ubuntu 16.04 LTS but I am getting Exception,
WebDriverException:...
1
vote
1
answer
2k
views
Error on Firefox Driver using Selenium/Python
I'm getting an error when trying to execute a simple python script using Selenium. Here are the script and the error along with my environment information (I'm using a virtual environment). (I get a ...
3
votes
6
answers
20k
views
how can i remove notifications and alerts from browser? selenium python 2.7.7
I am trying to submit information in a webpage, but selenium throws this error:
UnexpectedAlertPresentException: Alert Text: This page is asking you
to confirm that you want to leave - data you ...