File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/test/java/com/browserstack/stepdefs Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212
1313# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
1414hs_err_pid *
15-
15+ target /
1616/.idea /
17- * .iml
17+ * .iml
Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ public class SearchSteps {
2727 @ Before
2828 public void setUp (Scenario scenario ) throws Exception {
2929 String USERNAME = System .getenv ("BROWSERSTACK_USERNAME" );
30- String ACCESS_KEY = System .getenv ("BROWSERSTACK_ACCESSKEY " );
30+ String ACCESS_KEY = System .getenv ("BROWSERSTACK_ACCESS_KEY " );
3131 String URL = "https://" + USERNAME + ":" + ACCESS_KEY + "@hub.browserstack.com/wd/hub" ;
3232
3333 DesiredCapabilities caps = new DesiredCapabilities ();
3434 caps .setCapability ("browser" , System .getProperty ("browser" ));
3535
36- if (System .getProperty ("local" ).equals ("true" )) {
36+ if (System .getProperty ("local" ) != null && System . getProperty ( "local" ) .equals ("true" )) {
3737 caps .setCapability ("browserstack.local" , "true" );
3838 l = new Local ();
3939 Map <String , String > options = new HashMap <String , String >();
You can’t perform that action at this time.
0 commit comments