<table style="text-align: left; width: 580px;" class="TableText1" border="0">
</table>
<table class="TableText1" nowrap="">
</table>
我用过
IWebElement baseTable = driver.FindElement(By.ClassName("TableText1"[2]));
或
IWebElement baseTable1 = driver.FindElement(By.XPath("(//table[@class='TableText1'])[position()=2]"));
但我找到了所有数据。
我只需要访问2 nd 类
答案 0 :(得分:0)
尝试使用Arrays.stream(arr).filter(s->s.length()>4).toArray(size-> { return new Integer[size]; });
:
XPath
答案 1 :(得分:0)
尝试使用index -
inline void matsca(const double *a, const double c, double *b, const size_t n)
{
const __m256d a1 = _mm256_set1_pd(c);
size_t i;
for (i = 0; i + 4 <= n; i += 4)
{
__m256d a0 = _mm256_loadu_pd(&a[i]);
__m256d a2 = _mm256_mul_pd(a0, a1);
_mm256_storeu_pd(b, &a2[i]);
}
for ( ; i < n; ++i) // handle any odd elements at end of vector
{
a2[i] = a1[i] * a2;
}
}