21 questions
0
votes
0
answers
67
views
How to start Selenium standalone server from a PHP script?
In my PHP script I am using php-webdriver library with Edge webdriver to get data from a web page and I need to start Selenium standalone server from the script. I copied selenium-server-4.35.0.jar, ...
0
votes
0
answers
42
views
Unable to catch/export some cookies
In attempt to automation of some job on a certain site, I use php-webdriver. Target website is written in Vue. For certain POST query this site uses cookies, but this cookies does not present nor in ...
0
votes
1
answer
347
views
cannot run my automation script on a hosted webserver with php-webdriver
I need to automate downloading a csv file from my webserver.
I am trying to complete this task with selenium for php.
I wrote this script and it runs fine on my local machine, it runs, logs in to my ...
0
votes
1
answer
291
views
PHP-Webdriver how to get Text from Span Tag
This is a span tag which I have:
<span id="CD417" oncontextmenu="myR(this)" style="cursor: pointer;" spanparent="RD417" reportinfostring="417|N|N|K1|...
9
votes
2
answers
22k
views
WebDriver Exception: Unable to find handler for (POST) /wd/hub/session
Google Chrome 79.0.3945.130
ChromeDriver 79.0.3945.36
selenium-server-4.0.0-alpha-4.jar
Newest code from the php-webdriver GitHub as of 1/22/2020
I am starting the Selenium server in standalone mode ...
2
votes
1
answer
939
views
facebook/php-webdriver headless downloads
There are quite a few posts about facebook/php-webdriver successfully downloading files when non-headless, and the same operation failing when headless. I'm looking for a successful implementation of ...
3
votes
3
answers
4k
views
How to add Options through Facebook/php-webdriver?
I'm seeking to add options to an instance of Facebook/php-webdriver.
This works to get the initial options:
$options = \Facebook\WebDriver\Remote\DesiredCapabilities::chrome();
Now I'd like to add ...
4
votes
2
answers
4k
views
PHP Fatal error: Uncaught Error: Class 'Facebook\WebDriver\ChromeOptions' not found
namespace Facebook\WebDriver;
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\Remote\RemoteWebDriver;
require_once('vendor/autoload.php');
$host = 'http://localhost:4444/...
1
vote
1
answer
6k
views
How can I scroll page in php-webdriver?
I'm trying to get some screenshot using php-driver. And it appears that despite taking the picture of the entire web page, it just taking the picture that appears on the monitor/screen (that's why we ...
2
votes
0
answers
202
views
Facebook php-webdriver HAR file export
Is there a possibility to export a HAR file from Chrome, when using facebook/php-webdriver ?
Also is it possible to select a mobile emulator on chrome and throttle the internet speed?
2
votes
1
answer
2k
views
How to stop selenium webdriver from closing the browser?
Normaly you are using selenium to automate testcases and after the testcase finished running, the browser closes.
However I try to use selenium webdriver to script specific tasks, e.g. login to a ...