Put a package on hold:
echo "<package-name> hold" | sudo dpkg --set-selections
Remove the hold:
echo "<package-name> install" | sudo dpkg --set-selections
mv jenkins.war jenkins.war.old
sudo wget http://updates.jenkins-ci.org/stable-2.32/latest/jenkins.war
sudo service jenkins restart
appium -a 127.0.0.1 -p 4723 --chromedriver-port 9515 --chromedriver-executable /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/lib/chromedriver --no-reset | |
[Appium] Welcome to Appium v1.6.5 | |
[Appium] Non-default server args: | |
[Appium] address: 127.0.0.1 | |
[Appium] chromeDriverPort: 9515 | |
[Appium] chromedriverExecutable: /Users/Jinesh/Documents/Jinesh/xxxx/workspace/Appium/Java/lib/chromedriver | |
[Appium] noReset: true | |
[Appium] Deprecated server args: | |
[Appium] --no-reset => --default-capabilities '{"noReset":true}' | |
[Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities: |
//Define fluent wait | |
FluentWait wait = new FluentWait(driver) | |
.withTimeout(15, TimeUnit.SECONDS) | |
.pollingEvery(1,TimeUnit.SECONDS) | |
.ignoring(NoSuchElementException.class); | |
wait.until(new ExpectedCondition<Boolean>() { | |
@Override | |
public Boolean apply(WebDriver d) { |