Skip to content

Conversation

@pankajdoshi
Copy link

class SingleTest extends BrowserStackTest {

public function testGoogle() {
    self::$driver->get("https://www.google.com/ncr");
    $element = self::$driver->findElement(WebDriverBy::name("q"));
    $element->sendKeys("BrowserStack");
    $element->submit();
    $this->assertEquals('BrowserStack - Google Search', self::$driver->getTitle());
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant