You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Hi,
Below is the code and I want to import get_clean_chrome_driver function from drivers_setup file from Utils folder. I am getting module errors when I try to run from the top run button but it runs fine from terminal with pytest pages/test_all_blocks.py command. What could be the cause any idea?
test_all_blocks.py
import sys import os import time
# ✅ Dynamically add the project-level path so that Python can find utils/ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "../utils")))
# ✅ Now you can safely import from utils from drivers_setup import get_clean_chrome_driver
def name_print(): print("This is a placeholder function. Remove if unused.")