Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98498

Basic authentication with geb

$
0
0

Iam using selenium and geb to automate tests, I need to pass basic authentication parameters, been searching but so far I have no idea how to do it, I've tried:

import geb.Page
import geb.Browser
class testOne extends Page{
  static url = 'http://username:password@testUrl.com'
}

but that doesnt work, any help is apreciated


Viewing all articles
Browse latest Browse all 98498

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>