Apr-09-2019, 12:23 PM
No not like that...
for examples
if you run this you will get to see the text and page. i click on anytext on page to get the xpath?
i click and system prints the xpath without using 'inspect element' option
or forget xpath. if i can get tag associated with that text if i click on anytext written?
for examples
import requests from flask import Flask app = Flask(__name__) @app.route('/') def get_data(): data = requests.get('https://maharerait.mahaonline.gov.in/').text print(data) return data app.run(debug=True)this is my code which opens third party website.
if you run this you will get to see the text and page. i click on anytext on page to get the xpath?
i click and system prints the xpath without using 'inspect element' option
or forget xpath. if i can get tag associated with that text if i click on anytext written?