Skip to content

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

@mityukov

Description

@mityukov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions