Code Monkey home page Code Monkey logo

Comments (4)

spooning avatar spooning commented on June 14, 2024

Originally submitted to Google Code by jollych... on 25 Jul 2013

anybody can merge it?thanks

from oldseleniumlibrary.

spooning avatar spooning commented on June 14, 2024

Originally submitted to Google Code by @jussimalinen on 13 Aug 2015

We are moving Selenium Library to github and creating a last release with Robot 2.9 support before stopping the support of this project entirely.

We will look at merging the patch before creating the last release.

from oldseleniumlibrary.

pekkaklarck avatar pekkaklarck commented on June 14, 2024

Attachment cannot be copied from Google Code so here's the proposed patch:

--- a/src/SeleniumLibrary/screenshot.py
+++ b/src/SeleniumLibrary/screenshot.py
@@ -80,6 +80,8 @@
             filename = self._namegen.next()
         else:
             filename = filename.replace('/', os.sep)
+        import os
+        filename = filename.replace('.png', '%s.png' % os.urandom(16).encode('hex'))
         logdir = self._get_log_dir()
         path = os.path.join(logdir, filename)
         link = utils.get_link_path(path, logdir)

from oldseleniumlibrary.

pekkaklarck avatar pekkaklarck commented on June 14, 2024

We decided not to do the proposed change because it would change behavior in backwards incompatible manner. It could be considered in a major version, but because this library is deprecated we are not planning to release new major versions.

from oldseleniumlibrary.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.