Skip to content

Commit

Permalink
Adding instructions to include FFox47
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoman committed Mar 14, 2017
1 parent 5d944f3 commit c9b598f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ Progetto allegato al meeting PugBO del 17 marzo 2017
- [Scaricare Selenium Standalone Server](http://selenium-release.storage.googleapis.com/index.html?path=2.53/) (versione 2.x compatibile con MinkDriver)
- [Scaricare il Firefox WebDriver](https://github.com/mozilla/geckodriver/releases/) per Selenium
- Configurare il proprio behat.yml
- Firefox 47, scaricarlo e decomprimerlo in `/opt`, modificare `~/.profile` inserendolo nel path come alias
- [Firefox 47, scaricarlo](https://ftp.mozilla.org/pub/firefox/releases/47.0.2/linux-i686/it/) e decomprimerlo in `/opt/firefox47`

## Attività preliminari

- `composer install`
- avviare Selenium Standalone `java -jar selenium-server-standalone-2.53.1.jar`
- `source ffox47.sh` per impostare la versione compatibile

## Svolgimento dei test

Expand Down
7 changes: 7 additions & 0 deletions ffox47.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

if [ -f "/opt/firefox47/firefox" ] ; then
PATH="/opt/firefox47:$PATH"
alias firefox=/opt/firefox47/firefox
echo 'Firefox 47 set as Default'
fi

0 comments on commit c9b598f

Please sign in to comment.