早上好。我目前正在尝试根据字典值从下拉菜单中选择一个国家。我试图使用sendkey(),在发送"United States“继续返回"United Arab Emerates”时,很快就遇到了错误。然后我找到了.select_by_values",但这似乎不起作用。
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.w
clear方法将清除该值,但会保留该值,并且当发送密钥传递新值时,文本框将在selenium Appium中显示以前的值+新值。敬请指教。版本:java-client-4.1.2 Appium Server:v1.7.2 Selenium: 3.0.1
I tried this but it did not work out.
public void clearTextBox(WebElement element,String text) throws Exception
{
element.click();
Thread.sleep(3000);
elem
我是新来的詹金斯。我正在尝试调用jenkins中的远程shell脚本,方法是使用'Execute shell script on remote host using ssh‘option.But,我在shell脚本中使用了read命令,但它在jenkins.Can上不起作用。谁能帮我在jenkins上获取shell脚本的用户输入。
script:
echo "hello"
read -p "Choose your option : " ch
echo "Hi"
jenkins上的输出:
Started by user anonymou