I was able to get the source code of the current Safari web page using the following code:
req = appex.get_web_page_info()
From there I was able to parse through the HTML using BeautifulSoup.
Oops! Looks like something went wrong!
You may only upload PNG, JPG, or GIF files ()