我目前正试图点击一个按钮,但它没有id或类名,只有class和href。
html代码是:
<a href="#" class="bt-acessar-login radius" onclick="validarFornecedor()" ;="">
<i></i>
<span>Acessar sistema</span>
<div class="clear"></div>
</a>
我试过的vba代码是:
Set btnObject = .document.getElementByClass("bt-acessar-login radius")
btnObject.FireEvent ("onclick")
答案 0 :(得分:0)
我搜索更多内容并找到适合我的代码!
FROM php:5.6-apache
COPY ./000-default.conf /etc/apache2/sites-available/000-default.conf
RUN ln -s /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-enabled/000-default.conf
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN apt-get update && \
apt-get install -y \
git \
cron \
libpq-dev \
postgresql-client \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev \
php5-gd \
&& docker-php-ext-install -j$(nproc) iconv mcrypt \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd
RUN docker-php-ext-install pdo_pgsql && docker-php-ext-install zip
RUN a2enmod rewrite