0
votes
0answers
6 views

Automatically run selenium server and python script for a mobile app

this is my first post here and i must say it was really useful I am new to python and website scrapping and i am working with selenium server and htmlunit to access remote website and get some info, ...
0
votes
1answer
16 views

please help me in lxml

I am facing some problem in scraping using lxml I just made a code that is working fine but I have two problems I want name and address in same row and every entry should be in different line like ...
-4
votes
0answers
25 views

Advice in crawling articles?

I am trying to collect the paragraphs, title, author, and images of an article. Utilizing selenium and mechanize only. Link: ...
1
vote
2answers
29 views

How to select parent of parent component by xpath

And is there a way to get to parent of parent of parent? :) Not to make it this way: driver.find_element_by_xpath("//*[contains(text(), 'folder ...
0
votes
0answers
25 views

Splinter: 403 forbidden but able to browse to url in chromedriver [on hold]

I'm running into a bizarre situation where doing browser.visit() which is basically wrapper around selenium, to a url is throwing 403 forbidden. While the chromedriver browser is open, I manually type ...
-2
votes
0answers
26 views

Reg Shift Career from Manual Testing to Python [on hold]

Hi I am have been working in Manual Testing in Insurance domain for about 7 yrs . I have strong domain knowledge in Insurance and Reinsurance. My Current testing covers all modules in insurance also ...
3
votes
2answers
49 views

Monitoring JSON wire protocol logs

According to the selenium documentation, interactions between the webdriver client and a browser is done via JSON Wire Protocol. Basically the client, written in python, ruby, java whatever, sends ...
1
vote
2answers
26 views

Unable to click link using selenium webdriver in python

I am trying to click on the link shown below: <a class="user" href="/Kevin-Rose" action_mousedown="UserLinkClickthrough" id="__w2_L73qRYl_link" target="_blank"> <span ...
1
vote
1answer
40 views

Getting multiple url? Is this possible in Selenium

I have list of urls for which I want to write a small Smoke test. Just load the urls and assert the title to make sure they are alive. Is this possible to do? class identity(unittest.TestCase): ...
1
vote
1answer
40 views

Get all combinations from selenium drop down list without options or select tag

I am working with Selenium for the corresponding website:http://calstate-la.bncollege.com/webapp/wcs/stores/servlet/TBWizardView?catalogId=10001&langId=-1&storeId=30556. My goal with this ...
0
votes
1answer
30 views

Find next tag using Selenium Python

So basically I using selenium for the following webpage: http://www.registrar.ucla.edu/schedule/catalog.aspx?sa=APPLING&funsel=3. I created a driver and I am looking for a bold text that matches ...
0
votes
1answer
19 views

how to copy particular text inside pre tag using selenium python

Need to copy the text given inside the <pre> tag using selenium python <div id="response_headers" class="ui-tabs-panel ui-widget-content ui-corner-bottom"> <pre> "test test1 ...
0
votes
1answer
18 views

clicking on a link with the same href value using selenium python

I have a html code that has two links but both the links have the same href value, but the onclick and the text are different. I wasn't sure as to how to access the second link. I tried using ...
0
votes
0answers
27 views

How to open new tab in google chrome using selenium python

Need to open new tab in Google Chrome and launch a new URL in that tab. browser = webdriver.Chrome() browser.get('https://www.google.com') Now need to launch yahoo.com in new tab. How to do it.
1
vote
2answers
19 views

Selenium returns a page source in which all tags names have “a0:” prefixed to them

I use the following code to download a webpage: driver = webdriver.Firefox() driver.get('https://www.SOMEWEBSITE.com') html = driver.page_source But sometime it get things like <a0:td>some ...
1
vote
1answer
19 views

Using Selenium with Python and PhantomJS to download file to filesystem

I've been grappling with using PhantomJS/Selenium/python-selenium to download a file to the filesystem. I'm able to easily navigate through the DOM and click, hover etc. Downloading a file is, ...
1
vote
1answer
20 views

Issue with BASIC HTTP authentication using Selenium in Python

I am trying to test a web app that has BASIC authentication (there is a popup that comes up to authenticate the user when I hit whatever page, the popup is not part of the HTML). After entering the ...
0
votes
0answers
14 views

Selenium Python TimeoutException: Message: ' '

Im having a problem identifying what exactly is causing this timeout exception. Here is my code: class EntertainmentSocialMedia(CoreTest): def testEntertainmentTwitter(self): d = ...
0
votes
1answer
39 views

Selenium Webdriver wait.until is not working

So I am starting to use Selenium Webdriver and I am encountering a problem with the until method from selenium.webdriver.support.wait. Below is my code: from selenium import webdriver import time ...
0
votes
2answers
46 views

Can Selenium WebDriver click on all combinations from drop down menu

So basically I need to get all combinations of Department, Course, and Section from the UCLA bookstore site: http://shop.uclastore.com/courselistbuilder.aspx and then I need to choose the books and ...
2
votes
2answers
30 views

Wrapping Selenium “Expected Conditions” Python

I am trying to create my own Selenium class with custom functions so that test scripting will become a bit more intuitive and more robust in some scenarios, for my taste at least. One of my current ...
0
votes
1answer
54 views

Selenium error with Firefox - Can't load the profile. Profile Dir

Selenium error with Firefox - Can't load the profile. Profile Dir (django-env)Glyns-MacBook-Pro:test glyn$ sudo python test_functional.py Traceback (most recent call last): File ...
0
votes
0answers
30 views

WebDriverException: Message: u'missing ; before statement' ;

I am trying to build a utility function to output beautiful soup code to a browser I have the following code: def bs4_to_browser(data): from selenium import webdriver driver = ...
0
votes
1answer
29 views

Selenium Python right click “Open link in new Window” - (Windows 7)

Description of my web page: When I enter some details on my web Page it shows up couple of different links. Out of that links, I need to click on one link and continue my testing from there on. ...
0
votes
1answer
23 views

Subclass of a subclass of unittest.TestCase, with a different setUpClass classmethod

I currently have a subclass of unittest.TestCase which I use to run my selenium tests: class FunctionalTest(unittest.TestCase): @classmethod def setUpClass(self): self.browser = ...
0
votes
2answers
51 views
+50

FluentWait for python-selenium

In java selenium-webdriver package, there is a FluentWait class: Each FluentWait instance defines the maximum amount of time to wait for a condition, as well as the frequency with which to check ...
1
vote
1answer
28 views

Make WebElement visible via Selenium with Python with JavaScript

I'm trying to upload a png via selenium. My Problem is, that the Input I need to use, is invisible to selenium, but not to the user. In the FAQ of Selenium they told me to use the JavascriptExcecutor ...
-1
votes
1answer
24 views

How to scroll down the webpage using selenium python

I need to scroll down the page and select an option in a webpage. driver.find_element_by_css_selector("#AttrRowID11 > div.clearfix").click() This click action need to performed when it is scroll ...
0
votes
2answers
24 views

how to provide keyboard combination(Shift+command+F) to make google Chrome to full screen

Need to open the Google Chrome to Full screen while opening using Selenium Python from selenium import webdriver from selenium.webdriver.common.keys import Keys driver = webdriver.Chrome() ...
-1
votes
0answers
17 views

I can't make python click a javascript button and download a file [on hold]

I want to make a program in python that goes to a file hosting webpage and clicks a javascript button that says "download now", and then downloads a file! I managed to do this with selenium chrome ...
-1
votes
1answer
29 views

Scraping advice on Crawling and info from Javascript onclick() function

I've finally found a thread on newbie help on this subject but I am no way forward with resolving this issue, partly because I'm a newbie at programming :) The thread is: Newbie: How to overcome ...
0
votes
1answer
27 views

How to select a specific date from a calender, using python-selenium?

For example, if I want to use python-selenium to select a specific check-in and check-out date in www.priceline.com, what should I do? This is the calender html (or you can find it on ...
1
vote
1answer
37 views

Setting path to firefox binary on windows with selenium webdriver

I am trying to build a utility function to output beautiful soup code to a browser I have the following code: def bs4_to_browser(data): from selenium import webdriver driver = ...
1
vote
1answer
26 views

Logging HTML requests in robot framework

I have been struggling to find much information to go along with this so I have turned here for help. I am running UI tests of a web app using robot framework. When a test fails I want a log of the ...
1
vote
1answer
25 views

Selenium WebDriver selection and entering text

I recently was able to get a headless webdriver up and going and have been tinkering with some. Currently, I'm having trouble locating an element by its xpath and changing its text. Below, I am trying ...
0
votes
1answer
15 views

Extracting data from a find_element query (Python)

So I'm trying to extract certain data from within a find_element search quest1 = browser.find_element_by_id("a29081363") quest1.title = browser.find_element_by_class_name("title").text quest1.desc = ...
1
vote
1answer
27 views

Interact with an invisible element and access second matching element

I want to select a value from a drop-down option. The html is as follows: (the website is http://www.flightstats.com/go/FlightStatus/flightStatusByAirport.do) <select id="airportQueryTime" ...
1
vote
1answer
20 views

Selenium not fully downloading files

I have set up a webscraper with beautifulsoup, selenium(chrome), and python. It is pretty simple, beautifulsoup parses a page full of links, and selenium follows those links 1 at a time. Selenium ...
0
votes
2answers
20 views

webdriverprefs.json not found - pyinstaller

I have a python program which uses selenium package, and when creating an exe from this using pyinstaller it creates the exe correctly. When trying to open firefox from this app I got the following ...
0
votes
0answers
18 views

PhantomJS file upload fails if file is larger than 20000 bytes

I have discovered a really strange problem when using PhantomJS with Selenium to upload a file. I noticed, that smaller files can be uploaded, while larger files can not. So I ran a binary search to ...
0
votes
1answer
18 views

how to provide option name instead of option index in selenium python

Hi Im trying to select an option from dropdown list Select(driver.find_element_by_id("categorySelect")).select_by_visible_text("Testing") ...
0
votes
0answers
8 views

Open source tool for running selenium tests in parallel on python [closed]

Is there any open source tool for running selenium tests in parallel on python? Thanks,
0
votes
1answer
25 views

Download huge number of files in chunks

I'm trying to download a bunch (some thousands) of files using Python Selenium in Firefox by giving an input list. I'm downloading successfully. Since there are thousands of files I want to ...
1
vote
1answer
28 views

selenium and web2py from killer-web-development.com doesn't work

I am trying to follow the tutorial on http://killer-web-development.com/section/4/3 and I am running into the error message: ====================================================================== ...
0
votes
0answers
10 views

Missing file in compiled py2exe app selenium

I am trying to get my Selenium app to work. It compiles everything, but when I open the app it gives me this: C:\Python34\dist>browse.exe Traceback (most recent call last): File "browse.py", line ...
0
votes
1answer
18 views

Taking screenshot of particular div element including the area inside scroll region using selenium and python

I need to take a screenshot of a particular given dom element including the area inside scroll region. I tried to take a screen shot of entire web page using selenium and crop the image using Python ...
0
votes
2answers
34 views

How to pass variable inside find_element_by_css_selector method in Selenium , Python

I need to do some changes in below line : driver.find_element_by_css_selector("p[title=\"sanityapp5\"]").click() Now I have create a string variable appname appname="sanityapp5" Now I want to ...
1
vote
0answers
12 views

Opening a Splinter Browser using Selenium

When I initiate a splinter browser object for Chrome, I would get a yellow banner saying "You are using an unsupported command-line flag..." I found a way to get rid of that using selenium. browser = ...
1
vote
0answers
19 views

Black screenshot randomly taken with Selenium PhantomJS

I'm using Selenium with PhantomJS via Python. The problem I'm encountering is that I am getting black screenshots seemingly at random. For instance, this page renders a black 400x300 png file: ...
0
votes
1answer
33 views

Interacting with website forms

I'm trying to connect to a school url and automate the process with selenium. Originally I tried using splinter, but ran into similar problems. I can't seem to be able to interact with the username ...