Questions tagged as 'selenium'

2
answers

Read dictionary key with Selenium Python

I have the following code. The program is complete, only I need a small adjustment. As you can see, I read a dictionary and I'm entering the keys in different places on the selenium website. Now, here the problem appears, I need you to just call...
asked by 19.10.2017 / 16:59
2
answers

Get part of a Selenium Python url

I have this URL and I just want to get a part of it: https://onevideo.aol.com/#/inventorysource/1024374?makeDuplicate=true The part I want to obtain is the id: 1024374 to then enter it in this other url: https://onevideo.aol.com/inventory...
asked by 24.10.2017 / 02:25
1
answer

Help with a webdriver test with geckodriver and selenium ide

I'm using selenium ide the oldest version where you can export the script in testng driverweb format, the issue is that I tried several ways to run the test but I still have problems with the test, here's the code: @BeforeClass(alwaysRun = tru...
asked by 20.11.2018 / 01:44
2
answers

Rescue the text of an input with Java Selenium

Good afternoon community, I'm trying to rescue the text of the following element: <table class="GroupsTable"> <tbody> <tr> <td> <input type="checkbox" name="chk" value="1"> " texto no s...
asked by 29.11.2018 / 16:11
1
answer

Selenium python travel dictionary

I am looking to build some function with for in to go through my dictionary. I explain a little the code that I have here, I use selenium. Within Def Name() in variable nametag , I call "NameTag" of my dictionary. So s...
asked by 20.10.2017 / 21:47
1
answer

Problems Login Python Selenium, Urllib, Urllib2, request!

I want to login to this page: https://onevideo.aol.com/#/ and I have tried with request, selenium, urllib2, urllib, mechanize ... and I have not even been able to find the username xpath and the submit button. Better said, if I find them...
asked by 11.10.2017 / 22:15
2
answers

How to access an object per class?

This is my code fragment that generates me error. boton = browser.find_element_by_css_selector(".boton boton-rojo") boton[0].click() Here is the html object: <div class="boton boton-rojo"><a href="https://******.*****.com.co/iMod...
asked by 26.12.2017 / 17:49
1
answer

Enter values within Variable python

#!/usr/bin/python # coding=utf-8 import time from selenium import webdriver import xlsxwriter from Data_tags import Inventory_data driver = webdriver.Chrome('/Users/Martin/Desktop/chromedriver') def run(d): login("Usuario", "pass") New...
asked by 09.10.2017 / 23:13
0
answers

Error with UCS-2, when browsing web page with python and selenium

I have this error when going through the page getting links, everything goes ok until it reaches this title W️Warning Games, as I could do so that I do not mark error that is because of the yellow sign. This is the error that I get:    Traceb...
asked by 18.09.2018 / 04:09
1
answer

C # Selenium - how to detect that authentication has been successful

How can I know when the authentication is successful after passing the username and password? I would like to stop the execution and show once the connection was successful. This is my code? driver.Navigate().GoToUrl("MiURL"); var wait =...
asked by 09.06.2018 / 16:32