Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am johanbaath on github.
* I am johanbaath (https://keybase.io/johanbaath) on keybase.
* I have a public key ASBylaFWg6jX_62YPKT-pQDXMTXWDc89rnsEsKGOuPralwo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am johanbaath on github.
  • I am johanbaath (https://keybase.io/johanbaath) on keybase.
  • I have a public key ASBUCbDg6SGGIt95YFQro8sLMyWxTJARajARiBhshsAudAo

To claim this, I am signing this object:

require "watir-webdriver"
require "watir-webdriver/wait"
def wait_while_loaded
timeout = 10
browser = Watir::Browser.new :ff
browser.goto "http://test.se/CampaignControll"
browser.text_field(:name => 'j_username').set 'xxxx'
browser.text_field(:name => 'j_password').set 'xxxx'