Skip to content Skip to sidebar Skip to footer

How To Get Next Form Content In Python

This is my first script(also post) in python. In script i filled form content and submit it. So After submitting form it will generate result on next form. Now the issue is next f

Solution 1:

Once you have the html document you can use BeautifulSoup for getting the data you need.

from bs4 import BeautifulSoup

# submit form as per your snippet

html = browser.response().read()
soup = BeautifulSoup(html, 'html.parser')

# Process the content with BeautifulSoup. 

Post a Comment for "How To Get Next Form Content In Python"