帧未按索引号切换

时间:2019-05-10 03:28:21

标签: selenium iframe

我没有。将帧设置为“ frsize”,并启动循环以按索引切换帧。但它不会切换到另一个索引。

10.5.2019 4:56:20
Compiling APK file... (CMD mode: Normal)

/c ""C:\Program Files\Java\jdk-12.0.1\bin\java.exe" -Xmx1024m -jar "C:\Program Files (x86)\APK Easy Tool\Apktool\apktool_2.3.4.jar" b -c -f -o "C:\Users\Psycho\Documents\APK Easy Tool\2-Recompiled APKs\MyNBA2K19BOT.apk" "C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT" "

S: WARNING: Could not write to (C:\Users\Psycho\AppData\Local\apktool\framework), using C:\Users\Psycho\AppData\Local\Temp\ instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
W: fakeLogOpen(/dev/log_crash) failed
W: fakeLogOpen(/dev/log_crash) failed
W: fakeLogOpen(/dev/log_stats) failed
W: fakeLogOpen(/dev/log_stats) failed
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a0.xml:2: error: No resource identifier found for attribute 'paddingBottomNoButtons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a0.xml:2: error: No resource identifier found for attribute 'paddingTopNoTitle' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v17\a0.xml:2: error: No resource identifier found for attribute 'paddingBottomNoButtons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v17\a0.xml:2: error: No resource identifier found for attribute 'paddingTopNoTitle' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a5.xml:6: error: No resource identifier found for attribute 'met_textColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a5.xml:6: error: No resource identifier found for attribute 'met_underlineColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a5.xml:13: error: No resource identifier found for attribute 'met_textColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a5.xml:13: error: No resource identifier found for attribute 'met_underlineColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v21\a5.xml:6: error: No resource identifier found for attribute 'met_textColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v21\a5.xml:6: error: No resource identifier found for attribute 'met_underlineColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v21\a5.xml:13: error: No resource identifier found for attribute 'met_textColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v21\a5.xml:13: error: No resource identifier found for attribute 'met_underlineColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a6.xml:2: error: No resource identifier found for attribute 'cardBackgroundColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a6.xml:2: error: No resource identifier found for attribute 'cardCornerRadius' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a6.xml:2: error: No resource identifier found for attribute 'cardElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a6.xml:2: error: No resource identifier found for attribute 'cardMaxElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a6.xml:2: error: No resource identifier found for attribute 'cardPreventCornerOverlap' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a6.xml:2: error: No resource identifier found for attribute 'cardUseCompatPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\a6.xml:2: error: No resource identifier found for attribute 'contentPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\an.xml:25: error: No resource identifier found for attribute 'cb_color' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\an.xml:25: error: No resource identifier found for attribute 'cb_pressedRingWidth' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v16\an.xml:25: error: No resource identifier found for attribute 'cb_color' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v16\an.xml:25: error: No resource identifier found for attribute 'cb_pressedRingWidth' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v17\an.xml:25: error: No resource identifier found for attribute 'cb_color' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v17\an.xml:25: error: No resource identifier found for attribute 'cb_pressedRingWidth' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v21\an.xml:25: error: No resource identifier found for attribute 'cb_color' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v21\an.xml:25: error: No resource identifier found for attribute 'cb_pressedRingWidth' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bb.xml:2: error: No resource identifier found for attribute 'cardBackgroundColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bb.xml:2: error: No resource identifier found for attribute 'cardCornerRadius' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bb.xml:2: error: No resource identifier found for attribute 'cardElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bb.xml:2: error: No resource identifier found for attribute 'cardMaxElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bb.xml:2: error: No resource identifier found for attribute 'cardPreventCornerOverlap' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bb.xml:2: error: No resource identifier found for attribute 'cardUseCompatPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bb.xml:2: error: No resource identifier found for attribute 'contentPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bf.xml:2: error: No resource identifier found for attribute 'cardBackgroundColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bf.xml:2: error: No resource identifier found for attribute 'cardCornerRadius' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bf.xml:2: error: No resource identifier found for attribute 'cardElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bf.xml:2: error: No resource identifier found for attribute 'cardMaxElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bf.xml:2: error: No resource identifier found for attribute 'cardPreventCornerOverlap' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bf.xml:2: error: No resource identifier found for attribute 'cardUseCompatPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\bf.xml:2: error: No resource identifier found for attribute 'contentPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\by.xml:16: error: No resource identifier found for attribute 'fabIcon' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\c0.xml:25: error: No resource identifier found for attribute 'fabIcon' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v21\c0.xml:25: error: No resource identifier found for attribute 'fabIcon' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\c7.xml:2: error: No resource identifier found for attribute 'srcCompat' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ca.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\cb.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ce.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v16\ce.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v17\ce.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\cf.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v16\cf.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout-v17\cf.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ci.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\cj.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ck.xml:2: error: No resource identifier found for attribute 'md_reduce_padding_no_title_no_buttons' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\d.xml:2: error: No resource identifier found for attribute 'divider' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\d.xml:2: error: No resource identifier found for attribute 'dividerPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ee.xml:4: error: No resource identifier found for attribute 'cardBackgroundColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ee.xml:4: error: No resource identifier found for attribute 'cardCornerRadius' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ee.xml:4: error: No resource identifier found for attribute 'cardElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ee.xml:4: error: No resource identifier found for attribute 'cardMaxElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ee.xml:4: error: No resource identifier found for attribute 'cardPreventCornerOverlap' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ee.xml:4: error: No resource identifier found for attribute 'cardUseCompatPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ee.xml:4: error: No resource identifier found for attribute 'contentPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ef.xml:2: error: No resource identifier found for attribute 'cardBackgroundColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ef.xml:2: error: No resource identifier found for attribute 'cardCornerRadius' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ef.xml:2: error: No resource identifier found for attribute 'cardElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ef.xml:2: error: No resource identifier found for attribute 'cardMaxElevation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ef.xml:2: error: No resource identifier found for attribute 'cardPreventCornerOverlap' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ef.xml:2: error: No resource identifier found for attribute 'cardUseCompatPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ef.xml:2: error: No resource identifier found for attribute 'contentPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_clickable' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_defaultTabBackground' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_defaultTabTextAllCaps' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_defaultTabTextColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_defaultTabTextHorizontalPadding' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_defaultTabTextMinWidth' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_defaultTabTextSize' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_distributeEvenly' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_dividerColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_dividerThickness' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_drawDecorationAfterTab' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorAlwaysInCenter' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorColor' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorCornerRadius' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorGravity' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorInFront' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorInterpolation' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorThickness' in package 'com.surcumference.xscript'
W: 
W: C:\Users\Psycho\Documents\APK Easy Tool\1-Decompiled APKs\MyNBA2K19BOT\res\layout\ep.xml:2: error: No resource identifier found for attribute 'stl_indicatorWidth' in package 'com.surcumference.xscript'
…

切换第一帧后不进入第二帧。它终止了循环,没有异常。

这是实际输出

帧索引号0 检查标志条件 返回false 测试运行:1,失败:0,错误:0,跳过:0,经过的时间:134.152秒

2 个答案:

答案 0 :(得分:1)

欢迎来到。

添加driver.switchTo().defaultContent();作为for循环的最后一步。这样一来,上下文始终会更改为父级,然后在循环中更改为iframe。

 Boolean flag=null;
 List<WebElement> frames=driver.findElements(By.tagName("iframe"));
 int frsize=frames.size();

 for(int i=0;i<frsize;i++) 
 {
  driver.switchTo().frame(i);
  System.out.println("Frame Index Number "+i);
  flag = driver.findElements(By.xpath(locatorValue)).size()!= 0;
  System.out.println("Checking Flag Condition");
  if(flag==true)
  {
   System.out.println("It returns true");
   return true;
  }
  else
  {
   System.out.println("It returns false");
   return false;
  }
  driver.switchTo().defaultContent();
 }

答案 1 :(得分:0)

当您处理网页中的弹出对话框/ iframe窗口时,driver.switchTo().defaultContent()用于将控件切换回窗口中的默认内容。