rstudio / webdriver

WebDriver client in R
https://rstudio.github.io/webdriver/
Other
69 stars 16 forks source link

Set custom header request #54

Open salimk opened 5 years ago

salimk commented 5 years ago

Hello,

Is there any option to set HTTP header for a request Accept-Encoding/Origin in : br$session$go Or br$session$initialize

we can see a header argument inside session_makeRequest function but we think that is related to jsowireprotocol not the given url request ?

Thank you

gaborcsardi commented 5 years ago

Unfortunately this is not part of the WebDriver API: https://w3c.github.io/webdriver/

IDK if Phantom has a way, if it does we can add it.