Selenium Webdriver上的RSA公钥错误无效

时间:2017-11-17 13:58:34

标签: java selenium key rsa selenium-chromedriver

我使用selenium webdriver点击一个元素。单击该元素后,我的应用程序将打开登录页面,5秒后,我收到“无效的RSA公钥”错误。无法弄清楚出了什么问题。

以下是代码:

lp.login_function(); //logins into the application
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("custSearchText")));
WebElement x = driver.findElement(By.id("custSearchText"));
x.sendKeys("graham"); //enters the client name 'Graham'
Thread.sleep(5000); //waits for 5 seconds   wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("btnSearchCust"))); 
WebElement y = driver.findElement(By.id("btnSearchCust"));
y.click(); //clicks on search icon.

现在页面加载,大约10秒后出现“无效的RSA公钥”错误。

0 个答案:

没有答案