Questions tagged as 'selenium-webdriver'

0
answers

Enter username and password selenium web driver

How do I enter user and password in a JavaScript message of a web page? I've tried driver.switchTo().alert() but it's not working. I'm using Selenium WebDriver with Junit     
asked by 15.03.2018 / 21:17
0
answers

Go to cookis vba + selenium

Personal oops, good evening. Does anyone here know how to set cookies using selenium? When I use selenium it does not open a web page with the default profile and in this way does not open the browser cookies. I need to access these cookies t...
asked by 03.03.2018 / 06:06
0
answers

Object Recognition + Click - Selenium Webdriver

I'm having trouble clicking a button via Selenium Webdriver. I've tried everything, but to no avail. I have already tried xpath and a lot more ways, but without success. Could someone help?   
asked by 02.03.2018 / 13:36
2
answers

Find element without ID tag and Name

Expensive, I need to find the element that does not contain id or name in HTML. Below is the example HTML <button type="button" class="btn btn-primary ng-scope" data-ng-if="novo2()" data-ng-click="novo()" clickonce="">...
asked by 28.02.2018 / 21:23
1
answer

Python / Selenium is not filling the tilde character (~)

I'm trying to use Python / Selenium / Webdriver to automatically populate an input field on my Chrome page. However, I am not able to use the "send_keys" command to fill in the tilde character (~). Here's my code: import os import sys from...
asked by 15.02.2018 / 00:15
0
answers

Mstest File trx

Good afternoon guys, I'm working with test automation using mstest and adding the argument to save log . The problem is that it saves with the .trx extension. Would anyone have any option to implement the code to read?     
asked by 01.02.2018 / 19:02
0
answers

error Undefined offset: 1 selenium

Good afternoon, I'm having a bug in a selenium class. Does anyone know how to solve it? the code snippet is this. /* new way to retrieve sessionId from response in selenium 2.35.0 */ list($headers, $content) = explode("\r\n\r\n", $rawRespons...
asked by 24.01.2018 / 16:56
1
answer

Open and close multiple tabs in browser with Python

Hello, I need some help. I need this script I have (Python and JS) open a certain number of tabs and after a time interval close and reopen the same tabs again. However, in order not to close the browser I still need one of them to remain open....
asked by 01.12.2017 / 17:52
1
answer

How to create a new window in Selenium webdriver? Or something like that.

Next: I have an application that monitors a webpage, and I'm using the Selenium web driver ... The application now opens a page with calls from a client, shreds the data and generates alert popups for the analyst reporting new calls and etc ......
asked by 22.11.2017 / 17:54
1
answer

Automated test to verify email confirmation

I'm creating automated tests with selenium webdriver. I need to do a test that verifies that an email is sent to the user after registering on the system.     
asked by 09.11.2017 / 03:40