I'm working on automation test for a big project and I'm using **Phpunit** for functional test and as a server **selenium webdriver**.
I want to execute many tests using **different browsers** , I don't know what's the appropriate configuration to addend my objective, it's in **phpunit.xml** or in the test class, because in the **SetUp() method** I can work only with one browser.
This is my SetUp() method public function setUp() { $capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => 'internet explorer'); $this->webDriver = RemoteWebDriver::create('',$capabilities); } I tried to follow this Link :
But Error is generated , **Class Browser Not found**
Can anyone help me to resolve this ??
Thank you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.