We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/**
@description: 本地频道
@param: null
@return: null */ function localChannel() { toastLog('开始执行本地频道任务'); sleep(1000); while (!desc("学习").exists());//等待加载出主页 desc("学习").click(); //点击主页正下方的"学习"按钮 delay(2); className("android.widget.TextView").text("北京").findOne().parent().click(); delay(2); className("android.widget.TextView").text("北京卫视").findOne().parent().click(); delay(2); sleep(1000); back(); sleep(2000); toastLog('本地频道任务执行结束!'); //点击学习控件回到新闻首页 id("home_bottom_tab_button_work").findOne().click(); sleep(1000);
};
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/**
@description: 本地频道
@param: null
@return: null
*/
function localChannel() {
toastLog('开始执行本地频道任务');
sleep(1000);
while (!desc("学习").exists());//等待加载出主页
desc("学习").click(); //点击主页正下方的"学习"按钮
delay(2);
className("android.widget.TextView").text("北京").findOne().parent().click();
delay(2);
className("android.widget.TextView").text("北京卫视").findOne().parent().click();
delay(2);
sleep(1000);
back();
sleep(2000);
toastLog('本地频道任务执行结束!');
//点击学习控件回到新闻首页
id("home_bottom_tab_button_work").findOne().click();
sleep(1000);
};
The text was updated successfully, but these errors were encountered: