ncbi / robotframework-pageobjects

Implementation of the Page Object pattern with Robot Framework and selenium. Also facilitates page object pattern independent of Robot Framework
http://ncbi.github.io/robotframework-pageobjects
Other
84 stars 75 forks source link

Issue: First Page Object has method "Go To" #56

Open charleshamel73 opened 9 years ago

charleshamel73 commented 9 years ago

Hello, I was running Robot Hub in conjunction with Page Objects and I recognized that the first page object to load always has the keyword "Go To" listed with it. I looked into the Page.Get_Keyword_Name() method and saw that you set "_Keywords.has_registered_s2l_keywords = True" AFTER you check the first keyword. This seems to create a one off error where the condition "if in_s2l_base and (in_ld or _Keywords.has_registered_s2l_keywords):" is never satisfied when checking for selenium keywords the first run and allows one selenium keyword to pass through.

What is the intention for the "_Keywords.has_registered_s2l_keywords" and was this one off behavior intentional?