Came to this post cause of the cookies and the cache to be cleared to retrigger cookie query in the same browser session. since this was not working i found a solution as a combination of clear the cookies and set the capability "applicationCacheEnabled" to false.
Comments
Good article, any idea how one can get this working with headless Chrome?
I do! I've figured out a cleaner way to accomplish this, and I have a followup in my backlog.
bumping! would definitely be interested in a headless version
Came to this post cause of the cookies and the cache to be cleared to retrigger cookie query in the same browser session. since this was not working i found a solution as a combination of clear the cookies and set the capability "applicationCacheEnabled" to false.
This is an Amazing fix. Thanks a lot for this.
On Chrome vers 72 the selectors are not working anymore (with * /deep/). Do you know something about this?
Here Google explain why it was removed and give a migration guide: https://developers.google.com/web/updates/2017/10/remove-shadow-piercing
They removed it in Chrome 63: https://developers.google.com/web/updates/2017/10/remove-shadow-piercing
Luckily... (presenting a hack to compensate for an obvious lack of functionality)