Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
如果还没有设置引擎信息时,不调用初始化的方法
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed Dec 5, 2017
1 parent cac0f45 commit d97f502
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,11 @@ public SeleniumEngine init(String[] params)
{
engine.setRemoteStr(phoenixParam.remote);
}

engine.init();

if(engine.getDriver() != null)
{
engine.init();
}

return engine;
}
Expand Down

0 comments on commit d97f502

Please sign in to comment.