public function topページ_カテゴリ検索(\AcceptanceTester $I)
 {
     $I->wantTo('EF0101-UC02-T01 TOPページ カテゴリ検索');
     $I->amOnPage('/');
     // カテゴリを選択、そのまま続けて子カテゴリを選択する
     $I->moveMouseOver(['css' => '#category .category-nav li:nth-child(2)']);
     $I->wait(3);
     $I->click('#header #category ul li:nth-child(2) ul li:nth-child(1) a');
     // 商品一覧の上部に、選択されたカテゴリとその親カテゴリのリンクが表示される
     $I->see('調理器具', '#topicpath ol');
     $I->see('パーコレーター', '#item_list');
 }
<?php

/**
 * This tests login mouse over button.
 */
$I = new AcceptanceTester($scenario);
$I->wantTo('check login functions');
$I->amOnPage('/typo3');
$I->waitForElement('#t3-username', 10);
$I->wantTo('mouse over css change login button');
$bs = $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
    return $webdriver->findElement(WebDriverBy::cssSelector('#t3-login-submit'))->getCSSValue('box-shadow');
});
$I->moveMouseOver('#t3-login-submit');
$I->wait(1);
$bsmo = $I->executeInSelenium(function (\Facebook\WebDriver\Remote\RemoteWebDriver $webdriver) {
    return $webdriver->findElement(WebDriverBy::cssSelector('#t3-login-submit'))->getCSSValue('box-shadow');
});
$this->assertFalse($bs == $bsmo);
<?php

$I = new AcceptanceTester($scenario);
$I->wantTo('Test main navigation');
$I->amOnPage('/');
$I->moveMouseOver('.nav > li:nth-of-type(3)');
$I->wait(1);
$I->see('Overview');
$I->click('Overview');
$I->waitForElement('h4');
$I->see('The Enterprise');
<?php

$I = new AcceptanceTester($scenario);
$I->wantTo('perform actions and see result');
$I->amOnPage('/');
$I->waitForElement('#login-flyout');
$I->moveMouseOver('#login-flyout');
$I->waitForElement('#user');
$I->see('Sign up!');
$I->click('Sign up!');
$I->waitForElement('#tx-ajaxlogin-password-check');
$I->cantSeeElement('.b-form-error-message');
$I->click('Sign up!');
$I->waitForElement('.b-form-error-message');
$I->seeNumberOfElements('.b-form-error-message', 4);
 public function product_商品詳細カテゴリリンク(\AcceptanceTester $I)
 {
     $I->wantTo('EF0202-UC01-T02 商品詳細 カテゴリリンク');
     $I->amOnPage('/products/detail/2');
     // 商品詳細の関連カテゴリに表示されている、カテゴリリンクを押下する
     $I->moveMouseOver(['css' => '#category .category-nav li:nth-child(2)']);
     $I->wait(3);
     $I->click('#header #category ul li:nth-child(2) ul li:nth-child(1) a');
     // 登録商品がカテゴリごとに一覧表示される
     $I->see('調理器具', '#topicpath ol');
     // 一覧ページで商品がサムネイル表示される
     $I->see('パーコレーター', '#item_list');
 }