With selenium grid and TestNG,I am trying to launch safari in mac book pro.Hub is connected.safari node is launched. I have enabled the "enable remote automation" in Developer menu.Closed all safari windows.The test cases start running. But safari is not launching . but in the test console we could see the message that safari is launching with desired capabilities . But after some time the message will be could not start new browser session
I have tried changing the hub and node.I tried changing the parameters in the safari node .I tried with just one test case i.e WebDriver driver= new SafariDriver();driver.get("http://www.makeseleniumeasy.com");So the Safari has launched but with hub and Node it is not launching.I suspect whether the error is with the safari node or @Test code.Please help me with this. I have also tried adding System.setproperty in the setup by giving the path for safari driver
/safari.command/ Java -jar selenium-server-standalone-3.141.59.jar -role node -nodeConfig grid_safari.json
Expected result is safari browser should launch but it is not launching
Aucun commentaire:
Enregistrer un commentaire