Selenium Python - Data-Driven Testing
Given the JSON file
What will be the output of this code?
data.json contains:{"user": "admin", "pass": "1234"}What will be the output of this code?
import json
with open('data.json') as f:
data = json.load(f)
print(data['user'])