panther
panther copied to clipboard
A browser testing and web crawling library for PHP and Symfony
Hi! On a server running on Debian 11, after executing `$client = Client::createFirefoxClient('/var/www/vhosts/my_domain/htdocs/drivers/geckodriver');` with `PANTHER_FIREFOX_BINARY='/usr/bin/firefox'` (before installing Firefox and setting that variable, I was getting another error: `"Expected browser binary...
I have a change suggestion for Panther that I want to check with you first. I might be able to find the time to raise a PR here, but I...
Opening secondary client when createPantherClient use firefox driver send "Facebook\WebDriver\Exception\SessionNotCreatedException: Session is already started" exception when `$client2->request('GET', '/chat');` is called in this example : ```php $client1 = self::createPantherClient(['browser' => static::FIREFOX]);...
I've been _fighting_ with Panther and Selenium for two or three days on and off at this point, and so far they both keep eluding me. I've given up on...
How can I adjust window and take screenshot using Firefox driver?
In my phpunit test i want to signin a form and then submit but the submit function isn't doing anything. In my test i go to the login page take...
I'm trying to run Panther from production but I keep hitting `Could not start chrome. Exit code: 126 (Invoked command cannot execute). Error output: sh: 1: exec: /home/path/to/drivers/chromedriver: Exec format...
Im trying to run the basic usage and im always getting the next exception: > Symfony\Component \HttpClient \Exception \TransportException Failed to connect to 127.0.0.1 port 9515: Connection refused for "http://127.0.0.1:9515/status"...
This PR is a PoC relying on [info found on SO](https://stackoverflow.com/questions/6509628/how-to-get-http-response-code-using-selenium-webdriver). It allows building an HttpFoundation Response object by sniffing the network traffic generated during a browsing session. I confirm...
Compose file: ```yaml # docker-compose.yaml services: web: # my app with PHP, but without Chrome image: app:latest chrome: image: selenium/standalone-chrome shm_size: 2gb ``` Behat config, using https://github.com/robertfausk/behat-panther-extension: ```yaml # behat.yaml.dist...