Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jessy87's avatar

CTO is strongly pushing Selenium for Testing, what are your thoughts?

I'm fairly new to browser testing. I've been using Dusk to do the very basics of checking values appear on pages. CTO has been pushing Selenium. I know that it's popular-ish but not much else. What are your thoughts on Selenium? Our codebase is 100% written by me and I don't want to adopt another system if I don't have to. https://www-krogerfeedback.info/

0 likes
2 replies
Braunson's avatar

I'd suggest you use what suits your needs, and your experience. If you are experienced with Dusk and it suits the requirements, then by all means use that, why be forced to learn Selenium if it's not needed. Sounds like the CTO is opinionated and likely has prior experience with Selenium.

The important question to ask:

  • is he working on the code base or building any tests?
  • what are his reasons for using Selenium instead of Laravel Dusk?

The difference between Dusk and Seleium are:

Dusk:

  • PHP
  • Browser Automation
  • Used for browser automation and testing API
  • Does not support Fixtures, Group fixtures, Generators unlike Selenium

Selenium:

  • Python
  • Web Automation
  • Used for testing web applications
  • Supports everything Dusk dues in addition to Fixtures, Group fixtures, Generators.

Other than that they are pretty much the same. Depends on what you are testing and your requirements really.

martinbean's avatar

@jessy87 You don’t mention what role you hold in the company, but if the CTO is your superior and they’ve decided they want to use Selenium and have valid reasoning for it, then what’s the problem?

It sounds like you’re hesitant because you don’t have much experience with Selenium. This isn’t really a valid reason for not being on board for a technology decision.

1 like

Please or to participate in this conversation.