Ask a Question

import selenium prompts " ModuleNotFoundError: No module named 'selenium' " in script tests

Betsy
New Contributor

import selenium prompts " ModuleNotFoundError: No module named 'selenium' " in script tests

In the native python environment, when using selenium for UI related operations, the operation is normal, When importing selenium into testComplete, it prompts an error:

 

Betsy_0-1664170686895.png

But we checked in the native python environment,it runs normally.

 

 

2 REPLIES 2
Betsy
New Contributor

The same code works fine in local python environment

cancel
Showing results for 
Search instead for 
Did you mean: