Integrated icon indicating copy to clipboard operation
Integrated copied to clipboard

API issue: click() behavior is different when using Selenium extension

Open mityukov opened this issue 9 years ago • 0 comments

Hi, let me show you two examples:

  1. Laravel-way:
$this->visit('/')
    ->click('Login')
    ->seePageIs('/login');
  1. Selenium:
$this->visit('/')
    ->clickCss('[href="http://mappanel.dev/login"]') // 1. Can't use just the ::click('link text') here...
    ->updateCurrentUrl() // Have to add this line to test "seePageIs()" properly
    ->seePageIs('/login');

Is it expected behavior that Selenium requires completely

mityukov avatar Nov 29 '16 05:11 mityukov