0

I am using cucumber and I keep getting this warning

Request to unknown URL: http://fonts.googleapis.com/css?family=Source+Sans+Pro
To block requests to unknown URLs:
  page.driver.block_unknown_urls
To allow just this URL:
  page.driver.allow_url("http://fonts.googleapis.com/css?family=Source+Sans+Pro")
To allow requests to URLs from this host:
  page.driver.allow_url("fonts.googleapis.com")

I understand I need to set the page.driver.block_unknown_urls configurations but I am not sure where to do this in cucumber.

Could someone please explain where I should set this configuration in cucumber

Cu1ture
  • 1,273
  • 1
  • 14
  • 29

0 Answers0