Questions tagged as 'selenium'

1
answer

Selenium in Python - Implicitly wait and explicitly wait

This happens to me with this function, if I use a time.sllep () it works correctly but from what I understand it is quite inefficient to use it. def visible_en_tienda(driver): time.sleep(2) xpath = "/html/body/div[1]/main/div[2]/section/di...
asked by 09.07.2018 / 19:09
1
answer

problem with selector with space, selenium python

I have a problem with the selectorer, which has a space at the beginning: I have something like this on html: <div class=" _xyz"></div> and in python I do this: driver.find_elements_by_class_name(' _xyz') or this...
asked by 16.06.2018 / 20:15
1
answer

I can not detect xpath on Twitter

Since yesterday I have been trying in Python, with Selenium, to create a bot that allows voting a poll. The process from the beginning of the session until the vote is done perfectly, but when I indicate the xPath of the option to vote, it does...
asked by 24.04.2018 / 09:42
1
answer

The 'AsyncChromeDriver 0.4.3' package could not be installed

I am trying to install the package 'AsyncChromeDriver 0.4.3' with NuGet but at the time of finishing the installation it throws this error:    The 'AsyncChromeDriver 0.4.3' package could not be installed. Is   trying to install...
asked by 18.04.2018 / 21:30
1
answer

To extract information from a table?

I need to extract the information from a table with selenium, python. Cuepo html: <table class="table table-bordered"> <tbody> <tr> <td>Valor de...
asked by 29.12.2017 / 00:21
1
answer

Redirect immediately with SELENIUM PYTHON

I make a login and login but redirect me to a page which has errors and remains loading. The credentials are kept even if the page does not load completely. The page has a loop that keeps reloading the site. After the start of the session,...
asked by 27.11.2017 / 16:49
1
answer

Python global error handling

I want to know if there is any way to handle any type of error that appears in the browser so that within my function Connections (url) any object not found by the ccs_selector instead of cutting the program back to run from the beginning...
asked by 01.11.2017 / 22:43
1
answer

How can I download an excel from internet explorer using Selenium without popup?

I have to automate a process so I can then extract some data from three or four different Excel files and pass them to a single Excel. The problem arises when I get to "enter" to download and I skip the pop-up of "Open" "Save" "save as", I ca...
asked by 27.09.2017 / 11:13
1
answer

python to exe, Selenium inside windows

I leave the full code of my program in Python 2.7 link I am looking for a couple of additions but I do not know in which way and with what programs I should do it. First of all, I need to convert it to executable.exe. On the other hand I...
asked by 01.11.2017 / 05:21
1
answer

Problems installing selenium on Mac

I'm trying to install selenium on a Mac but I get errors. I'm trying with: sudo pip install selenium I get the following exceptions: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip-...
asked by 03.07.2017 / 20:15