1
vote
0answers
32 views

Selenium Webdriver error: “Can't load the profile”

I'm using Selenium Webdriver (Python bindings) and my script works on Mac (OS X 10.6.8), but not on PC (Windows 7 Enterprise). Here's the error I get: C:\Python27>python myscript.py Traceback ...
1
vote
1answer
44 views

Double Click On A WebElement in an iframe nested in an other iframe

Basically, my page has the following spec: <html> ... <iframe id="lvl1"> <html> <iframe id="lvl2"> <div>Double Click Me ...
0
votes
1answer
29 views

multiple download folders using Selenium Webdriver?

I'm using the Selenium webdriver (in Python) to automate the donwloading of thousands of files. I want the files to be saved in different folders. The following code works, but it requires quitting ...
0
votes
1answer
37 views

How to ignore children classes when extracting text from a class using Selenium in Python?

I am trying to extract the text from a class on html page using Selenium in Python. While doing so, my code is also extracting the text from its child class. Below is the code I am using: ...
1
vote
2answers
37 views

Why isn't my Python-based Selenium PhantomJS webcrawler reaching the web?

I'm trying to have this simple code reach the Internet. I'm behind a proxy server but I've set my http_proxy, https_proxy, and no_proxy environment variables. Python code: from selenium import ...
0
votes
2answers
71 views

find xth td with td contains in same tr xpath python

My page has a table with 11 columns, given text value for column 2, I want to click on the 11th column (arrow button) for the same row. My DOM looks like this: <table id=”atab” width=”100%” ...
0
votes
1answer
42 views

Issue with clicking Drop down list using Selenium in Python

I am trying to save the page as entire html using selenium, page has a dropdown list in it. There are 2 elements in that list and I want to save the entire html after clicking each of them. Below is ...
1
vote
1answer
67 views

setting Chrome preferences w/ Selenium Webdriver in Python

I'm using Selenium Webdriver (in Python) to automate the downloading of thousands of files. I want to set Chrome's download folder programmatically. After reading this, I tried this: chromepath = ...
2
votes
1answer
33 views

Running selenium behind a proxy server

I have been using selenium for automatic browser simulations and web scraping in python and it has worked well for me. But now, I have to run it behind a proxy server. So now selenium open up the ...
1
vote
1answer
54 views

retrieve dynamic frame names w/ Selenium WebDriver and Python?

I need to run thousands of searches on a certain database and I'm using Python and Selenium WebDriver to automate it. The thing is, the frame that contains the search results has a name that is ...
0
votes
3answers
49 views

Can anyone clarify some options for Python Web automation

I'm trying to make a simple script in python that will scan a tweet for a link and then visit that link. I'm having trouble determining which direction to go from here. From what I've researched it ...
0
votes
0answers
21 views

appium script starting off

I have installed appium. I want to use it with android apps using Python on a win 7 machine. I do not know how to start a script off to use appium and do not know to use Python IDLE or something else? ...
2
votes
2answers
72 views

Selenium (with python) how to modify an element css style

I'm trying to change CSS style of an element (example: from "visibility: hidden;" to "visibility: visible;") using selenium .execute_script. (any other method through selenium+python would be accepted ...
0
votes
0answers
42 views

Webdriver Selenium Won't Work - Python/Linux

I've installed everything to the tee, but it just won't work. Every time I try the example on the site http://selenium.googlecode.com/git/docs/api/py/index.html I get : Traceback (most recent ...
0
votes
2answers
174 views

Using selenium webdriver, how to click on multiple random links in webpage one after another continuously to detect broken links?

I'm trying to write a test script that would essentially test all visible links randomly rather than explicitly specifying them, in a webpage upon login. Is this possible in Selenium IDE/Webdriver, ...
1
vote
1answer
191 views

Custom headers in Phantomjs Selenium WebDriver

According to this it is possible now to modify headers. Atm i need to modify Accept-Language in PhantomJS webdriver. This code doesn't work ...
0
votes
1answer
124 views

Unable to select <div> window using selenium webdriver in python

I clicked on a link which opens a small window/popup/iframe and the popup window has Xpath: //html/body/div[2] ie. it has no window_id but in firebug the identifier shows the window as a <div ...
0
votes
0answers
39 views

How to prevent css and img download in selenium

Is it possible to prevent img and css download in phantomjs webdriver(selenium)?
0
votes
1answer
50 views

find_elements_by_partial_link_text(link_text) Selenium Python

Got this issue: I'm trying to find the last link on webpage: try: elems=self.br.find_elements_by_partial_link_text(category) except NoSuchElementException: print 'The ...
0
votes
1answer
69 views

Selenium2Library: move mouse position for click

I am new to the whole Robotframework and the Selenium2Library and I have a problem. I have two divs: rasterContainer and anlageContainer. They have the same x- and y-offset. The anlageContainer has a ...
0
votes
1answer
90 views

selenium PhantomJS send_keys doesn't work

I am using selenium and PhantomJS for testing.I followed selenium's simple usage,but send_keys doesn't work on PhantomJS,it works on Firefox.why?I have to use button.click() instead? ...
1
vote
1answer
46 views

How to click links one by one with Selenium webdriver and Python

Site has top menu with 6 links. I can get list of this links like this: links = browser.find_elements_by_css_selector(MENU_LINKS_CSS_SELECTOR) After this I need to click this links one by one. If I ...
0
votes
1answer
20 views

Cant close processes using selnium threads

I've been at this problem for a while now and i cant solve it. Im making subprocesses, and then those subprocesses open more processes ( actually selenium web-drivers ). The webdriver is prone to ...
0
votes
1answer
28 views

Selenose - django, selenium

So I'm tryig to use this tool: - http://selenose.readthedocs.org/en/latest/ No go. Still my driver is connecting wrong server. Except that documentation is incomplete or maybe even erroneous, that's ...
0
votes
1answer
70 views

Browser Simulation and Scraping with windmill or selenium, how many http requests?

I want to use windmill or selenium to simulate a browser that visits a website, scrapes the content and after analyzing the content goes on with some action depending of the analysis. As an example. ...
0
votes
0answers
47 views

Python - Selenium unresponsive and blocking the program

I am using Selenium with Python. After multiple find and click operations, the script stops executing. When I check, the Selenium will be blocking the entire code, either at a click operation or at a ...
0
votes
0answers
41 views

How to import Selenium2Library in Eclipse

import Selenium2Library.Selenium2Library in eclipse results in the following error. Traceback (most recent call last): File ...
0
votes
1answer
105 views

How to pass variable inside find element method in Selenium , Python

I need to do some changes in below line : browser.find_element_by_css_selector("[href='/new/ank/abgh/add/']") Now I have create a string variable lStr and assign href value to it: ...
0
votes
2answers
106 views

Webdriver error: “No alert is present” after UnexpectedAlertPresentException is thrown

I'm trying to test a webapp I'm developing. I'm using the Firefox driver against Firefox 22.0. At one point, a modal dialog may pop up (a Javascript prompt()). If it does, I want to enter some text ...
0
votes
1answer
58 views

Make an assertion that error text is correct

When testing website login without credentials we're getting a tooltip message that email and password should be entered. I need to make an assertion that the text of the error is relevant when we try ...

1 2 3 4 5
15 30 50 per page