Referencing selenium driver inside a function

Answered
0
0

Hi,

I want to reference my selenium driver inside a function but I am not sure how to do that. Do you have any ideas how can I do that?

Thanks in advance!

  • You must to post comments
Best Answer
0
0

Hello, you can pass the driver as a string input parameter, but make sure to name the function parameter exactly as your driver variable.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.