tebeka / selenium

Selenium/Webdriver client for Go
MIT License
2.53k stars 409 forks source link

http proxy is not work #240

Open mohamadpk opened 3 years ago

mohamadpk commented 3 years ago

2021/05/03 18:22:50 -> POST http://localhost:8080/wd/hub/session {"capabilities":{"alwaysMatch":{"browserName":"chrome","proxy":{"proxyType":"manual","httpProxy":"http://46.130.1.110:1111"}}},"desiredCapabilities":{"args":["user-data-dir=\"mpk\""],"browserName":"chrome","proxy":{"proxyType":"manual","httpProxy":"http://46.130.1.110:1111"}}}

{ "value": { "sessionId": "54812c27db53b31399e165a11fd7f76d", "capabilities": { "acceptInsecureCerts": false, "browserName": "chrome", "browserVersion": "90.0.4430.93", "chrome": { "chromedriverVersion": "90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs\u002fbranch-heads\u002f4430@{#429})", "userDataDir": "C:\\Users\\MOHAMA~1\\AppData\\Local\\Temp\\scoped_dir11512_1507796814" }, "goog:chromeOptions": { "debuggerAddress": "localhost:26827" }, "networkConnectionEnabled": false, "pageLoadStrategy": "normal", "platformName": "windows", "proxy": { "httpProxy": "http:\u002f\u002f46.130.1.110:1111", "proxyType": "MANUAL" }, "setWindowRect": true, "strictFileInteractability": false, "timeouts": { "implicit": 0, "pageLoad": 300000, "script": 30000 }, "unhandledPromptBehavior": "dismiss and notify", "webauthn:extension:largeBlob": true, "webauthn:virtualAuthenticators": true, "webdriver.remote.sessionid": "54812c27db53b31399e165a11fd7f76d" } } } 2021/05/03 18:24:37 -> POST http://localhost:8080/wd/hub/session/54812c27db53b31399e165a11fd7f76d/url {"url":"https://www.google.com/search?q=what+is+my+ip"} 2021/05/03 18:24:41 <- 200 OK [[application/json;charset=utf-8]] { "value": null }

show my ip not proxy ip!!!

mohamadpk commented 3 years ago

hi are you there?