How does @CacheLookup work in WebDriver?

后端 未结 3 1907
情歌与酒
情歌与酒 2021-01-12 21:05

I\'m not sure that I understand the caching principle :

@CacheLookup
@FindBy(how = How.ID, using = namespace + signifLvl)
private WebElement sigLvl;
<         


        
3条回答
  •  Happy的楠姐
    2021-01-12 21:20

    I know this answer is late in the party. I have been trying to understand @Cachelookup myself and came up with certain tests and conclusions. This topic is hard to explain in short here. So please take a look at the article which tries to understand the inner workings of @CacheLookup and also the performance improvements that we get by using this annotation. Article is on ToolsQA here

提交回复
热议问题