Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post request use chromote #12

Open
xia0long opened this issue Aug 9, 2017 · 1 comment
Open

Post request use chromote #12

xia0long opened this issue Aug 9, 2017 · 1 comment

Comments

@xia0long
Copy link

xia0long commented Aug 9, 2017

Hi, thanks for your job!
By using chromote, i can set a url to remote Chrome(in docker container) and return a html code, but i can't sent a post request to the chrome, do you have any idea? Thanks again!

example: How can i get a logged-in page when i send a login url to remote headless Chrome?

@lplume
Copy link

lplume commented Sep 8, 2017

with chrome devtool protocol you should focus the input and then dispatch key events,
with @iiSeymour /chromote, atm, you could tab.evaluate javascript

[edit]
you can also get the web socket url from the tab and then send plain messages

regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants