Selenium, WebDriver, HtmlUnit equivalent for android -
this i'm trying do: 1. have tablet , want connect university's wi-fi access net 2. connection net won't work unless open browse 3. automatically redirected university username-password page 4. type in university credentials , boom => have internet
problem??? hate have set password every single day , although chrome android can store still have open browser, etc. etc. etc.
solution: utilize selenium, webdriver, htmlunit or sort of headless browser programmatically fill in login form in background.
problem 2: these headless browsers don't work on android (or haven't been able create them work)
does know of simple headless browser works on android devices, 1 can fill simple form , submit it? there other alternatives want do?
thx in advance help.
some related questions: httpunit/htmlunit equivalent android, android: fill form info , extract html, html parsing in android
how university validate 1 time you've logged in? e.g. based on setting cookies in web browser? happens if login web browser 1 time you've authenticated in first one?
once know how authenticates you, should able devise suitable approach. instance, if it's device-wide authentication e.g. based on mac address perhaps can write simple android app embeds webview, and/or plain old http request / response programming in java. if, however, it's browser based either need login (automagically) browser want use, or find way insert relevant cookie(s) browser want utilize web browsing.
android selenium webdriver html-parsing htmlunit
No comments:
Post a Comment