I do not know Selenium, but my best guess is that the Selenium::Screenshot->new constructor invocation did not return a defined object. Check whether $white is defined right after that constructor invocation. It seems likely you might have a problem there.
In reply to Re: Recover a variable from a loop
by Laurent_R
in thread Recover a variable from a loop
by Chaoui05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |