Stylesheets not applied in Chrome

前端 未结 1 763
耶瑟儿~
耶瑟儿~ 2020-12-22 05:20

Using Watir with Chromedriver. When running tests (not headless), my stylesheets are not applied. When running chrome normally (not testing) my stylesheets show up.

<
相关标签:
1条回答
  • 2020-12-22 06:11

    I assume that you are accessing the application-under-test via embedded credentials. Chrome v59 removes support for embedded credentials in subresource requests. Here's what the documentation says:

    Drop support for embedded credentials in subresource requests. (removed)

    We should block requests for subresources that contain embedded credentials (e.g. "http://ima_user:hunter2@example.com/yay.tiff"). Such resources would be handled as network errors

    0 讨论(0)
提交回复
热议问题