WebDriver and Javascript

Jun 5, 2015 at 2:49 PM

has any of you tried to use Javascript to connect to Windows phone driver?

I have tried couple of approaches but it didn't work.
Jun 6, 2015 at 12:29 AM
What you are trying to do? send log and test code ?
Jun 8, 2015 at 8:20 AM
Edited Jun 8, 2015 at 8:21 AM
I am trying to connect to Windows Phone Selenium Driver using Javascript.
Since I am not that familiar with JavaScript, maybe I am doing some mistake from that point.

What have I done:
  1. I started Windows Phone Selenium WebDriver
  2. Took IP and tried to connect to it from JavaScript
  3. I have tried to connect to driver using WD:
     var browser = wd.remote({
        protocol: 'http',
        hostname: <ip>,
        port: 8080,
        path: ''
    }, 'promiseChain')  ; 
  4. After I execute the code, in my emulator Windows Phone Selenium WebDriver is closed and nothing is executed.
When I do the same thing using C# and RemoteWebDriver everything works as it should.
Jul 9, 2015 at 12:21 AM