This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Original error: unexpected end of stream on Connection{127.0.0.1:4723, proxy=DIRECT hostAddress=/127.0.0.1:4723 cipherSuite=none protocol=http/1.1} | |
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' | |
System info: host: 'InfinITs-Mac-mini.local', ip: 'fe80:0:0:0:c9d:d8a:a662:7827%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15', java.version: '13.0.1' | |
Driver info: driver.version: IOSDriver | |
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208) | |
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217) | |
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) | |
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package iosdemo; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import org.openqa.selenium.remote.CapabilityType; | |
import org.openqa.selenium.remote.DesiredCapabilities; | |
import io.appium.java_client.AppiumDriver; | |
import io.appium.java_client.MobileElement; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.dina; | |
import org.openqa.selenium.JavascriptExecutor; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.chrome.ChromeDriver; | |
import org.testng.annotations.Test; | |