remotewebdriver

First character is missing inconstantly while sending string to the ExtJS input via sendKeys()

∥☆過路亽.° 提交于 2021-02-07 13:21:42
问题 I randomly face the issue of missing first character in the ExtJS5 input field, while sending string via sendKeys method. System info: Ubuntu 14.04 -> docker containers with selenium grid (2.48.2) Browser Firefox Code is simple. I just get input web element, wait if it's clickable (i.e. isEnabled and isDisplayed), clear and send string: wait.until(ExpectedConditions.elementToBeClickable(input)).clear(); input.sendKeys(value); input element is simple too: <input id="textfield-1455-inputEl"

First character is missing inconstantly while sending string to the ExtJS input via sendKeys()

删除回忆录丶 提交于 2021-02-07 13:20:07
问题 I randomly face the issue of missing first character in the ExtJS5 input field, while sending string via sendKeys method. System info: Ubuntu 14.04 -> docker containers with selenium grid (2.48.2) Browser Firefox Code is simple. I just get input web element, wait if it's clickable (i.e. isEnabled and isDisplayed), clear and send string: wait.until(ExpectedConditions.elementToBeClickable(input)).clear(); input.sendKeys(value); input element is simple too: <input id="textfield-1455-inputEl"

How to upload a file by transfering the file from the local machine to the remote web server using Selenium Grid

时光毁灭记忆、已成空白 提交于 2021-02-05 08:16:08
问题 File Upload with a Selenium Grid: Code import java.net.MalformedURLException; import java.net.URL; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.remote.DesiredCapabilities; import org.openqa.selenium.remote.LocalFileDetector; import org.openqa.selenium.remote.RemoteWebDriver; public class Main { public static void main(String[] args) throws MalformedURLException { DesiredCapabilities capabilities =

Can nightwatch.js use usingServer from selenium-webdriver?

帅比萌擦擦* 提交于 2021-01-29 01:49:55
问题 I have a suite of tests using local drivers built with nightwatch. Works well. I am running a basic test using Perfecto Mobile and selenium-webdriver. It works with this example.(https://community.perfectomobile.com/series/20208/posts/1002862) I am trying to connect my suite of nightwatch test to perfecto, but can't start selenium. If this is the url of the selenium server. var url = "https://mobilecloud.perfectomobile.com/nexperience/perfectomobile/wd/hub"; I tried a few ways to set it up

Can nightwatch.js use usingServer from selenium-webdriver?

坚强是说给别人听的谎言 提交于 2021-01-29 01:43:04
问题 I have a suite of tests using local drivers built with nightwatch. Works well. I am running a basic test using Perfecto Mobile and selenium-webdriver. It works with this example.(https://community.perfectomobile.com/series/20208/posts/1002862) I am trying to connect my suite of nightwatch test to perfecto, but can't start selenium. If this is the url of the selenium server. var url = "https://mobilecloud.perfectomobile.com/nexperience/perfectomobile/wd/hub"; I tried a few ways to set it up

Testng get parallel execution method logs separately

淺唱寂寞╮ 提交于 2021-01-07 03:13:20
问题 I have used onTestSuccess, OnTestFailure for Test case execution results. I am able to report my Test case is pass or fail. if (result.getStatus() == ITestResult.SUCCESS) { // } else if (result.getStatus() == ITestResult.FAILURE) { // }else if (result.getStatus() == ITestResult.SKIP) { // } But I also need to capture logs for each method separately.. that should not overlapping with other thread logs. @Test public void test001() throws IOException { System.out.println("Test001"); } @Test

selenium remotewebdriver with python - performance logging?

百般思念 提交于 2020-08-04 06:26:48
问题 I'm trying to get back some performance log info from a remote webdriver instance. I'm using the Python Selenium bindings. From what I can see, this is information I should be able to get back. Think it may only be available with ChromeDriver. I'm currently using FireFox but can easily switch over if it gets the info I want. However, I'm new to Python (but learning!) and documentation around the capabilities dictionaries (when used for performance logging) for Python seems to be a bit limited

How to configure special proxy settings for a remote selenium webdrive with python?

我的未来我决定 提交于 2020-01-31 19:18:13
问题 I would like to thank you all in advance for your patience in helping me and I apologize in for being a newbie. If I posted anything incorrectly or if this article is lacking in any way, please let me know so I can append to it instead of down voting. I will start by describing the infrastructure I am working within. It contains multiple proxy servers that uses a load balancer to forward user authentications to the appropriate proxy that are directly tied to an active directory. The

How to configure special proxy settings for a remote selenium webdrive with python?

坚强是说给别人听的谎言 提交于 2020-01-31 19:18:06
问题 I would like to thank you all in advance for your patience in helping me and I apologize in for being a newbie. If I posted anything incorrectly or if this article is lacking in any way, please let me know so I can append to it instead of down voting. I will start by describing the infrastructure I am working within. It contains multiple proxy servers that uses a load balancer to forward user authentications to the appropriate proxy that are directly tied to an active directory. The

Unable to connect to Selenium Grid running on AWS EC2

那年仲夏 提交于 2020-01-24 06:20:13
问题 I have a Selenium Grid up and running on an AWS EC2 instance. I would like to connect to this from my local machine using Java to fire off my tests via a RemoteWebDriver, however, I'm unable to connect to the server be it through SSH or the Public IP. For example I need to access the instance on port 4444 for a url of http://123.456.78.910:4444/wd/hub this would then need to establish a connection and receive my tests. Whenever I try to use the Public IP I simply get a time-out. Any help