Selenium Python - Data-Driven Testing
Given the JSON file
and the code:
What will be the output?
user.json with content:{"username": "testuser", "password": "pass123"}and the code:
import json
with open('user.json') as f:
data = json.load(f)
print(data['username'])What will be the output?
