Used PopupError cfor bad element update
This commit is contained in:
parent
aa2911b91e
commit
c588b817f7
|
@ -2056,7 +2056,11 @@ class ErrorElement(Element):
|
||||||
return
|
return
|
||||||
|
|
||||||
def Update(self, *args, **kwargs):
|
def Update(self, *args, **kwargs):
|
||||||
Popup('Keyword error', self.Key, 'Hey duffus, you gave me a bad key and now you\'re trying to do an update.', 'You need to stop this madness and check your spelling')
|
PopupError('Keyword error',
|
||||||
|
'You need to stop this madness and check your spelling',
|
||||||
|
'Bad key = {}'.format(self.Key),
|
||||||
|
'Your bad line of code may resemble this:',
|
||||||
|
'window.FindElement("{}")'.format(self.Key))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue