Src Reference: http://bernaerts.dyndns.org/download/ubuntu/install-mozilla-addon Article: http://bernaerts.dyndns.org/linux/74-ubuntu/271-ubuntu-firefox-thunderbird-addon-commandline
sudo apt-get install xvfb
sudo Xvfb :99.0 -ac
export DISPLAY=:99.0
| #!/bin/bash | |
| # | |
| # Open new Terminal tabs from the command line | |
| # | |
| # Author: Justin Hileman (http://justinhileman.com) | |
| # | |
| # Installation: | |
| # Add the following function to your `.bashrc` or `.bash_profile`, | |
| # or save it somewhere (e.g. `~/.tab.bash`) and source it in `.bashrc` | |
| # |
| # Given | |
| Given I am on [the] homepage | |
| Given I am on "url" | |
| # When | |
| When I go to [the] homepage | |
| When I go to "url" | |
| When I reload the page |
Src Reference: http://bernaerts.dyndns.org/download/ubuntu/install-mozilla-addon Article: http://bernaerts.dyndns.org/linux/74-ubuntu/271-ubuntu-firefox-thunderbird-addon-commandline
sudo apt-get install xvfb
sudo Xvfb :99.0 -ac
export DISPLAY=:99.0
| <?php | |
| /** | |
| * @author Gildas Quéméner <gildas@akeneo.com> | |
| * @copyright 2013 Akeneo SAS (http://www.akeneo.com) | |
| * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | |
| */ | |
| use Behat\Behat\Exception\BehaviorException; | |
| use Behat\Mink\Driver\Selenium2Driver; |
| <?php | |
| // ... | |
| class FeatureContext extends MinkContext | |
| { | |
| /** | |
| * Looks for a table, then looks for a row that contains the given text. | |
| * Once it finds the right row, it clicks a link in that row. | |
| * |
| <?php | |
| use Behat\Mink\Exception\ElementNotFoundException; | |
| /** | |
| * @Given /^I select "([^"]*)" from "([^"]*)" chosen\.js autoselect box$/ | |
| */ | |
| public function iSelectFromChosenJAutoselectBox($option, $select) { | |
| $select = $this->fixStepArgument($select); | |
| $option = $this->fixStepArgument($option); |