File tree 1 file changed +7
-2
lines changed
server/src/test/java/org/uiautomation/ios/e2e/uicatalogapp
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 8
8
import org .testng .annotations .BeforeClass ;
9
9
import org .testng .annotations .Test ;
10
10
import org .uiautomation .ios .BaseIOSDriverTest ;
11
+ import org .uiautomation .ios .IOSCapabilities ;
11
12
import org .uiautomation .ios .SampleApps ;
12
13
import org .uiautomation .ios .UIAModels .UIAElement ;
13
14
import org .uiautomation .ios .client .uiamodels .impl .RemoteUIADriver ;
@@ -23,6 +24,7 @@ public class LocationContextTest extends BaseIOSDriverTest {
23
24
24
25
@ BeforeClass
25
26
public void startDriver () {
27
+
26
28
driver = new RemoteWebDriver (getRemoteURL (), SampleApps .geoCoderCap ());
27
29
}
28
30
@@ -33,6 +35,11 @@ public void stopDriver() {
33
35
}
34
36
}
35
37
38
+
39
+ public static void main (String [] args ) {
40
+ System .out .println (IOSCapabilities .iphone ("Safari" ).getRawCapabilities ());
41
+ }
42
+
36
43
@ Test
37
44
public void testShouldSetAndGetLocation () {
38
45
//driver.get(pages.html5Page);
@@ -42,8 +49,6 @@ public void testShouldSetAndGetLocation() {
42
49
43
50
d .setLocation (loc );
44
51
45
- System .out .println ("test" );
46
-
47
52
//driver.manage().timeouts().implicitlyWait(2000, MILLISECONDS);
48
53
49
54
//Location location = ((LocationContext) driver).location();
You can’t perform that action at this time.
0 commit comments