r/PHP • • Jun 13 '19

A Practical Guide for Finding Elements with Selenium

https://selenium-articles.s3-us-west-2.amazonaws.com/selenium.htm
0 Upvotes

4 comments sorted by

1

u/colshrapnel Jun 13 '19

Who would use a Java-powered Selenium when there are plenty of PHP drivers for Headless Chrome?

1

u/icanhazstring Jun 13 '19

Because there are always problems and differences between how chrome "displays" elements in headless and normal mode. Also, you maybe want to test IE and Firefox on Windows/Unix.

0

u/boss_scarbos Jun 13 '19

Using headless browsers on Ubuntu machines instead of real browsers on Windows and macOS machines is irresponsible and a very bad practice.
That's how you end up with bugs in production.

1

u/secretvrdev Jun 13 '19

If you really need a full blown real test browser test suit to avoid bugs youre working on the wrong software.