feat(腾讯视频): 首页-顶部广告卡片 (#415)

This commit is contained in:
lisonge
2023-09-27 18:08:57 +08:00
parent 8abacc4d06
commit c3c9098c6c

View File

@@ -52,10 +52,10 @@ export default defineAppConfig({
{ {
key: 3, key: 3,
name: '首页-顶部广告卡片', name: '首页-顶部广告卡片',
desc: '自动点击“不感兴趣”',
activityIds: ['com.tencent.qqlive.ona.activity.SplashHomeActivity'], activityIds: ['com.tencent.qqlive.ona.activity.SplashHomeActivity'],
rules: [ rules: [
{ {
desc: '点击右上角[广告]',
matches: matches:
'FrameLayout - RelativeLayout > RelativeLayout > FrameLayout + ImageView[clickable=true]', 'FrameLayout - RelativeLayout > RelativeLayout > FrameLayout + ImageView[clickable=true]',
snapshotUrls: [ snapshotUrls: [
@@ -64,9 +64,16 @@ export default defineAppConfig({
], ],
}, },
{ {
desc: '点击右上角[关闭广告]',
matches: '[text="关闭广告"][clickable=true]', matches: '[text="关闭广告"][clickable=true]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700518'], snapshotUrls: ['https://gkd-kit.gitee.io/import/12700518'],
}, },
{
desc: '点击右上角[广告]',
matches:
'RelativeLayout[id=null] > @FrameLayout[clickable=true][id!=null] > ImageView[desc="the ad tag"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12737313',
},
], ],
}, },
{ {