Skip to content

Instantly share code, notes, and snippets.

@matti
Last active December 18, 2018 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matti/cd3d2ac49f042ac6ce4cfeef3b3e91a2 to your computer and use it in GitHub Desktop.
Save matti/cd3d2ac49f042ac6ce4cfeef3b3e91a2 to your computer and use it in GitHub Desktop.

Asennus:

Selenium IDE chromeen: https://chrome.google.com/webstore/detail/selenium-ide/mooikfkahbdckldjjndioackbalphokd/related?hl=en

Linux/Ubuntu/Virtualbox:

Mac:

Avaa terminaali ja:

asenna homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

asenna gnupg

brew install gnupg

asenna rvm

gpg --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable

käynnistä terminaali uudestaan ja asenna ruby

rvm install 2.5.3
rvm use 2.5.3
gem install --no-document superbara

Tarvitset hyvän editorin, hyvä editori on esim. https://code.visualstudio.com

superbara init testi
superbara start testi

testin saat auki

code testi/main.rb

Poisto

RVM pois:

rvm implode

Homebrew pois:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

Muuta:

Testisaitti: http://the-internet.herokuapp.com/

Esimerkit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment