Ask a Question

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

Betsy
Occasional 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.

 

 

3 REPLIES 3
Betsy
Occasional Contributor

The same code works fine in local python environment

Betsy
Occasional Contributor

Ok,It helped me a lot.

Thanks

cancel
Showing results for 
Search instead for 
Did you mean: