无头的selenium中的NoSuchElementException但是在web模式下传递

时间:2017-07-21 12:15:43

标签: selenium selenium-webdriver automation

void initialise_student( struct student *st, char* name, char* surname)
    {
     st->name = ( strlen( name ) + 1);
     st->surname = (strlen( surname ) +1 );
    }
    int main(){
     int i;
     int n = 5;
     struct student *st[n] = initialise_student();
     for(i = 0; i < n; i++){
       printf("Score: \n");
       scanf("%d", &st[i].score);
       printf("Name \n");
       scanf("%s", &st[i].name);
       printf("Surname \n");
       scanf("%s",&st[i].surname);
      }

以上代码适用于网络模式,但无头无法

0 个答案:

没有答案